hello,
i'm using cache inmemory and i want to customise server filtering, so taht i will populate grid with remote data on specific number of page.
for example on each 10 page.
3 Answers, 1 is accepted
0
Petur Subev
Telerik team
answered on 17 Mar 2014, 07:03 AM
Hello Noel,
I am not sure I understand your question, please elaborate what exactly you would need from the Grid /DataSource for your case?
Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
i want to use both datasource cahe inmemory and grid serverfiltering. what i would like is to get data from server and cache it for the 10 first page of my grid , so between page 1 and page 10 i won't use server filtering. when i will click on page 11, i must be able to get data from the server again and cahe it .
0
Petur Subev
Telerik team
answered on 20 Mar 2014, 01:11 PM
Hello Noel,
The only way I can think of implementing such behavior is by specifying the read operation as function.
Here is a small example (try to navigate to a page larger than 10) that should give you the basic idea.
Based on your requirements you can choose to perform your own $.ajax request and get items from the server or you can fetch them from a local variable which you can use as caching bag.
I hope this helps.
Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!