Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Aug 24, 2009 02:43
open dhtmlx forum
Can it be possible to create dhtmlx tree from the Ajax XMLHttpRequest?

Can it be possible to create dhtmlx tree from the Ajax XMLHttpRequest?

The ajax response will be in XML format,
Can it be possible to create DHTMLX tree directly from response?
somewhat like load(xmlHttp.responseXML)
hiow to generate tree directly from xml response?
Answer posted by Alex (support) on Aug 24, 2009 05:38

Hello, 

tree can be loaded from xml stream:

  tree.loadXML("some.xml")

or xml string:

  tree.loadXMLString("<tree id="0">....</tree>")