Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jan 08, 2010 03:31
open dhtmlx forum
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
Answer posted by Stanislav (support) on Jan 11, 2010 02:54
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());