dhtmlxGrid - refresh the data in the grid using xml file

Our registration number is 299592085. I have a dhtmlxGrid and i am loading data into it using a xml file. Every time new data needs to be populated in the grid.My xml file gets generated with the new data but the data in the grid does not get refreshed at times. How do i refresh the data in the grid inspite of generating the xml file properly

Normally call the next must be enough

grid.clearAll();
grid.load(“some.xml”)

It possible that problem is caused by caching, you can try to use the next code to prevent such problem

grid.clearAll();
grid.load(“some.xml?v=”+grid.uid());