This question is locked. New answers and comments are not allowed.
What is a good way to get datasource results from a grid with paging and filtering applied and you want only the filtered out results?
I see many people asking this kind of question but not many real thorough answers.
datasource.data() gives you everything and datsource.view() gives you the current page you can see in the grid.
Do you have to calculate total / pagesize and iterate for each page...?
I see many people asking this kind of question but not many real thorough answers.
datasource.data() gives you everything and datsource.view() gives you the current page you can see in the grid.
Do you have to calculate total / pagesize and iterate for each page...?
I am not sure if I understand your question correctly, because the dataSource view() method returns a view of the result data from applied operation - such as paging and filtering.
Could you please provide more details about the scenario your are trying to implement?
Greetings,
Iliana Nikolova
the Telerik team
If I do a datasource.view() I get 5 records (current page 1 of 3, i guess).
If I do a datasource.data() I get 3000 records.
I want to get 13 records (filtered results, ignoring paging).