Can the kidsXmlFile be a xml String instead of a xml file or

Can the kidsXmlFile be a xml String instead of a xml file or url… like loadXMLString()?



i.e.

mygrid = new dhtmlXGridObject(‘gridbox’);



var xml = “…”;

mygrid.kidsXmlFile=xml;



as I need to reformat the xml coming from a source to the dhtmlx scheme, any way to achieve it?

Not possible by existing API, but pretty easy to achieva similar functionality by small modifications in source code

In dthmlxtreegrid.js you can locate next string

    this.loadXML(this.kidsXmlFile+""+s+“id=”+r.id);

and replace it with any required loading data operation, for example with

    this.loadXMLString(this.kidsXmlFile);