Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Kendo UI grid page index programmatically?

I have a kendo ui grid. Let's say that the JS variable pointing to the grid is called grid. How can I go to page 3 programmatically? Thanks.

like image 747
Lajos Arpad Avatar asked Dec 20 '12 16:12

Lajos Arpad


1 Answers

You might to use:

grid.dataSource.query({ page: 3, pageSize: 20 }); 

Documentation in here.

or:

grid.dataSource.page(3); 

Documentation in here

like image 175
OnaBai Avatar answered Sep 18 '22 14:09

OnaBai