Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Raghu on Oct 30, 2008 22:21
open dhtmlx forum
Grid

Hi,
How to reset the grid
Answer posted by Support on Oct 31, 2008 03:58
There is updateFromXML method which you can use:

grid.updateFromXML(url);

This method has more parameters (please, see the documentation http://www.dhtmlx.com/docs/products/dhtmlxGrid/doc/alpha.html)

Also you can call clearAll method and then load grid once again (if clearAll is called with true as a parameter, headers will be reset too):

grid.clearAll();
grid.loadXML(url);