How to change Kendo UI grid page index programmatically?

Lajos Arpad picture Lajos Arpad · Dec 20, 2012 · Viewed 42k times · Source

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.

Answer

OnaBai picture OnaBai · Dec 20, 2012

You might to use:

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

Documentation in here.

or:

grid.dataSource.page(3);

Documentation in here