Hi,
I would like to to use the paginated SfDatagrid in order not to load in memory all the data for large amount of data.
I'm using Entity Framework 6.0 CodeFirst as database model provider.
I'm also considering the possibility to have a web service that could implement oData protocol to make the same queries as in EF (via a proxy class).
Anyway, beside the paging, I obviously would like to use also column order and filtering (all the complete UI features available in SfDatagrid).
So I would like, using custom OnDemandPaging, to be able to supply to the SfDatagrid ONLY the data requested each time by the user.
For example, if the user (using SfDataGrid UI interface) requests page 2 of Customer's Entities, where customer Surname contains letter "S" and the City is Rome, all ordered by Company Name descending, I would like this EXACT query is passed to my EF model and only this query is made to the database to select the affected records.
I've searched a lot on your online code examples, but I have not found anything really similar to what I'm asking for.
So I ask you if there is such a possibility and if you can show me a code example about it.
Thanks in advance,
Silvio