Grid Pagination Caching


I’m working on dHtmlxGrid control. I want to cache or store page no in pagination. So that I can get that page no and navigate user to that page directly. is there any way in grid or paging to store page no…




there is the changePage method that allows to open a specified page: grid.changePage(pageNumber)

There getStateOfView() method returns details about current grid state:

var state = grid.getStateOfView();

var currentPage = state[0];

You can place current page in the cookie and restore it after grid loading.