Categories | Question details Back To List | ||
grid serialize problem. grid data loaded dynamicaly from server. hi there. i have problem with grid serializing. <script> mygrid = new dhtmlXGridObject('gridbox'); ' ' ' ' ' mygrid.init(); mygrid.loadXML("grid_data.asp"); var strGridXML = mygrid.serialize(); </script> ====================================== strGridXML value is just "<?xml version="1.0"?><rows></rows>". but grid data is not empty what is wrong? any body help plz. Answer posted by dhxSupport on Feb 17, 2009 08:56 Grid serialization will not work with grid which was loaded from the sever dinamically. By the way you need to execute mygrid.serialize() method only after grid was fully loaded (if you are using static loading): mygrid.loadXML("grid_data.asp",function(){ var strGridXML = mygrid.serialize(); }); Answer posted by junho on Feb 17, 2009 17:33 thanks. it works well |