I used dhtmlxGrid with paging for a page but when I click the arrow key form next page, all rows are cleared and no data reload again.
You think where I have to look for?
Could you, please, provide with any kind of sample of your code with the init of your grid.
Thank you for attention. These are all js side code for my grid
mygrid = new dhtmlXGridObject('gridbox'); mygrid.setImagePath('theme/default/imgs/dhxgrid_skyblue/'); mygrid.setSkin('dhx_skyblue'); mygrid.enableAutoWidth('true');
mygrid.enablePaging(true,200,6,'gridbox_paging',true,'gridbox_paging2'); mygrid.setPagingSkin('toolbar','dhx_skyblue'); mygrid.init(); gridQString_mygrid = './index.php?isxml=1&folder=./Modules/emails/contact&pageName=get'+'&flag='+(new Date()).valueOf(); mygrid.loadXML(gridQString_mygrid);
Your code is correct. Please, check your incoming data for correct total_count/pos attribute values, uniques row ids, valid xml format.
If the problem still occurs for you pleas,e provide with a complete demo or the demo link, where the problem can be reconstructed locally.
I have checked out the XML but I couldn’t find any special thing.
As a result I have sent you a zipped file in which 2 folders.
The first one is OK but I have to use the second one.
Please help me
grid.zip (14.3 KB)
Unfortunately in case of dynamic loading it is not available to init the grid from xml.
The only solution is to init your grid from js script.