Hi
I have a tree defined with inline xml and i need to attach an event (an onOpenEnd event to be specific). I know how to do this in raw javascript but im not sure with an xml tree, any ideas?
thanks
Scott
There is no way to attach events directly from xml , but if you mean init from HTML with inline XML , you can use attributes of container tag for such tasks
<div class=“dhtmlxTree” setOnOpenEndHandler=“name_of_handler_function” …
thats what i was looking for, it wasn’t in the api though
many thanks
any method of tree, which starts from “set” or “enable”, can be defined through attribute with the same name