Error in dynamic paging

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.
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 (14.3 KB)

In addition , when I add head structure in the first folder, I doesn’t work as well

% ...... .... ..... .... ....... ....... . . .

Unfortunately it’s not available to init the grid from the xml in case of using the dynamic loading.
You will have to init it from the script.