Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sandaly KEITA on Feb 23, 2009 06:30
open dhtmlx forum
Refresh with multiple pages

Hi,

I have a refresh of my dhtmlxgrid.

When I have several pages, the refresh initialise the dhtmlxgrid in the first page.

I know that normal because I clear my data grid and after I reload it.

I want to know if it's possible to save my page number before th refresh.
And set the page after the refresh.

thanks

sandaly
Answer posted by Support on Feb 23, 2009 07:28
can be done as

var current = grid.currentPage;
grid.clearAll()
grid.loadXML(some,function(){
    grid.changePage(current);
});