dhtmlXTreeObject: dynamically open child node triggered by o

Hi,



I am using loadXML to load the parent tree element and setXMLAutoLoading to build the subtree dynamically. Is it possible to trigger the setXMLAutoLoading event by other element event instead of clicking the parent tree “+” sign? For example, can I load the subtree element by clicking a drop down box? If so, how can I locate which sub tree to load?



Thanks,



Winger

Technically you can call
tree.openItem(id);
and tree will load data for related item , if it was not loaded yet.

>> If so, how can I locate which sub tree to load?
Sorry , but I don’t really understood the question
You can load sub items by using parent id and command mentioned above. Item id is common parameter for most in-grid events
If something still unclear - please provide more details about desired behavior