Hi,
How to move to the first and last page in dynamic loading
You can use changePage(pageNumber) method:
- the first page:
grid.changePage(1);
- the last page:
var pagesCount = Math.ceil(mygrid.getRowsNum()/page_size);
grid.changePage(pagesCount);
page_size is value which you set in the enablePaging method (the second parameter).