Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by john on Apr 08, 2008 23:18
open dhtmlx forum
dhtmlXtree drag-and-drop

I'm making a web service call that returns an object that implements the XMLStreamReader (java) class. This stream contains the tree that I want to load (in order to display the tree). What do I need to do to load the contents of this stream into the tree (using the dhtmlXtree package)? If you can proivde and example, that would be great.
Answer posted by Support on Apr 09, 2008 05:56
I'm not pretty sure which data contains response of webservice.
If it returns XML in format of dhtmlxTree you can fetch data directly by
    tree.loadXML("url_of_webservice");

In any other way you can retrieve and transform data in format of Tree, after which use tree.loadXMLString against XML string