Posted 13 February 2018, 3:04 am EST
I would suggest you to take a look at the ServerCollectionView Sample instead and check if it meets your use case.
The sample implements a simple data service and a ServerCollectionView class that runs on the client.
The data service supports paging, sorting, and filtering on the server. The sorting and filtering are implemented using the System.Data.DataTable class on the server.
The data service also provides CRUD support via a REST API similar to the one defined by the OData protocol.
Sample → http://demos.wijmo.com/5/SampleExplorer/SampleExplorer/Sample/ServerCollectionView
What is the method in the OData that determines this?
There is property totalItemCount which return the Total Number of items in the view before paging is applied.
Btw, is flexgrid opensource? Would like to read the source? Thanks
Sorry, the code is not open source.