Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Satheesh Kumar K on Oct 31, 2008 11:52
open dhtmlx forum
Load Grid on click of the button

I would like to load the grid on click of the button (ie)

mygrid.loadXML("test.xml") has to be executed inside the javascript funtion .is it possible to do that ?.

Thanks in advance.
Answer posted by Support on Nov 03, 2008 03:32
Yes, of course. The grid can be loaded it any moment of time, by executing loadXML command. To be sure that previous data cleared you can add mygrid.clearAll() before calling loadXML command.