Categories | Question details Back To List | ||
XMl data from constructed grid Hi, IS there any API or way of getting the XML back from the grid, the one which was used to construct it?
Cheers Gayathri Answer posted by Alex (support) on May 18, 2009 07:46 Hello, there is serialize() method in grid (PRO edition). It returns xml string with the new grid structure (after editing). Why do you need to get the same xml that was used to create it initially ? It can be saved into some JS variable using your own code: var xml = some_your_xml_string; grid.parse(xml); xml is the target string. Answer posted by Gayathri on May 18, 2009 07:53 Thanks very much. I am constructing the grid by adding rows in JS. Thats y i need the XML from the grid which has been constructed. Can you please answer my question anout "Adding subgrid from JS"? Thats the reason am doing all these silly things :)
Cheers Gayathri Answer posted by Alex (support) on May 18, 2009 08:25 Please, see teh answer http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=9547&a=15303 |