dhtmlxTree

Hi - I am evaluating dhtmlxTree and cannot seem to find a simple example of how to load the tree from sql.



Can you please point us to one?



Thanks in advance.

The tree can’t be loaded directly from SQL
Component is client side , so you need some kind of server side script which convert data from DB to one of supported format ( XML, JSON, CVS )

in HTML
    tree.loadXML(some.script)
in some.script
    data=get_data_from_db();
     print data.as_xml();


The samples included in package uses predefined XML files or PHP as server side script - if necessary , samples for some other platforms can be provided