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

"Load More" style paging in grid?

1 Answer 220 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ely
Top achievements
Rank 1
Ely asked on 06 Mar 2013, 06:20 PM
Hi,

I am trying to find a good way to implement a load more paradigm for paging, where instead of the standard pager there is a load more button, which will load the next pages of data below the current page when clicked.

I have this working now by adjusting the pageSize of the datasource.  I set it to the original pageSize * number of times the load more button was clicked.  This works, but is inefficient since it pulls back records that are already loaded in the grid.  

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 07 Mar 2013, 02:54 PM
Hello Ely,

Unfortunately such a functionality is currently not supported. I agree that performance optimization is recommended in this case. In order to reduce the data request size (response size actualy), you can use the dataSource widget separately and send requests for the data that you need manually via the API. Then take the data and generate the required HTML markup using Kendo UI templates.

http://docs.kendoui.com/documentation/getting-started/what-is-kendo

Please note that the above described implementation will lead to lack of any Grid data operations, i.e. no sorting, filtering or editing can be expected to work seamlessly.

Regards,
Dimo
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
Ely
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or