Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Yuri Mikhel on May 21, 2008 09:16
open dhtmlx forum
Load grid data from XML object.

Hi,

Is it possible to load grid data from JavaScript DOM object representing XML document instead of XML file?
This means that instead of XML file name I would like to pass to "loadXML" method (or "load" in a new grid version?) DOM object, representing XML document.

Regards,
Yuri
Answer posted by Support on May 21, 2008 10:04

It is possible, in grid 1.5 you can use
        grid.parseXML(object);

in grid 1.6
        grid.parse(object);

where object - DOM object, representing XML document