Grid pagination

on clicking a link i am updating the grid and the code is below


But the dynamic loading is not working,even if there are more no of records
Even in case of pagination record info its showing the total count as 200 even if there are 1337.
For the first time i am uploading 200 records

In case of reloading data from XML, the more stable way is to use

updateFromXML has sense , which you need to update current dataset , not fully reload it.
Please be sure that new loaded XML contains correct value of total_count attribute.