Hi there,
I am using a kendo ui grid to let the user filter down a large dataset - and I am interested in the resultant row.
Because the dataset is large, I am using these options:
serverPaging
serverFiltering
Once the user is finished they need to press a button and I need to get the results from the grid ... even if they extend over more then 1 page.
I expected this would be an easy task to get the datasource object and re-query the data somehow for the number of pages.
The pageSize is known, and the total number of rows after filtering is already known:
datasource.total()
So what I am missing is the call to the datasource to get a particular page of filtered data...
This question has already been asked in the DataSource forum and the answer provided by Iliana is shown to not be working for remote data:
http://www.telerik.com/forums/get-filtered-data-from-paged-grid
(It only gets the filtered results from the first page)
With a quick demonstration of the problem and Illiana's solution here: http://dojo.telerik.com/@JBoman32768/EKUGe
Any help on this would be really appreciated - as I really don't want to have to write my own filter UI, or load the complete dataset into the browser.
Cheers,
James.
I am using a kendo ui grid to let the user filter down a large dataset - and I am interested in the resultant row.
Because the dataset is large, I am using these options:
serverPaging
serverFiltering
Once the user is finished they need to press a button and I need to get the results from the grid ... even if they extend over more then 1 page.
I expected this would be an easy task to get the datasource object and re-query the data somehow for the number of pages.
The pageSize is known, and the total number of rows after filtering is already known:
datasource.total()
So what I am missing is the call to the datasource to get a particular page of filtered data...
This question has already been asked in the DataSource forum and the answer provided by Iliana is shown to not be working for remote data:
http://www.telerik.com/forums/get-filtered-data-from-paged-grid
(It only gets the filtered results from the first page)
With a quick demonstration of the problem and Illiana's solution here: http://dojo.telerik.com/@JBoman32768/EKUGe
Any help on this would be really appreciated - as I really don't want to have to write my own filter UI, or load the complete dataset into the browser.
Cheers,
James.