This is a migrated thread and some comments may be shown as answers.

How to retrieve CurrentPage from grid enabled with virtual scrolling for server side paging

1 Answer 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Aparna
Top achievements
Rank 1
Aparna asked on 08 Jun 2012, 05:04 PM
Hi,

I enabled Virtual scrolling for a large data set. Since the server is sending a very large dataset the performance is very low. I would like to do paging at the server end and send only a smaller data set. For this, how can I pass the currentpage data when virtual scrolling is enabled ?

Thanks
Aparna

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 12 Jun 2012, 11:49 AM
Hello Aprana,

To accomplish this, you have to set the serverPaging attribute on the data source to true, then you must be prepared to handle the requests on the server and respond appropriately.
In the corresponding documentation you will find detailed information and code snippets demonstrating how to configure your grid, alternatively you may check the "Paging" help article from grid walkthrough section. In addition I recommend to take a look at the Virtualization of remote data demo as it demonstrates this functionality in action.
I hope this helps.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Aparna
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or