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.
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.