Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Siddhartha on Dec 04, 2008 05:29
open dhtmlx forum
Grid reload with splitAt

Hi,

I m huving a code where i m reloading a grid data after a time span.i added a setTimeout and calling the loadXML() of the grid from it.
if the grid does not huv a splitAt() then its working fine.but when i am adding splitAt() its not working.new data is loading with header but concatinated with old header.

how can i solve it ??
Answer posted by Support on Dec 04, 2008 08:19
Grid in split mode can reload only data, configuration can't be reloaded after execution splitAt command.
In your case, be sure that data used for reloading has not head section , only data part, in such case grid will be able to reload correctly even in split mode

grid.clearAll(); //clear old data
grid.loadXML(url); //load new xml, data only