Node added event handler for ''dragInDhtmlXTree"

Hi,



I am using the 'dragInDhtmlXTree" to enable divs to be added to my tree. What I need to do though, is to attach an event handler whenever this occurs. I used the “tree.makeAllDraggable();” to enable my divs to be added, though how can I be notified when a node is added? The “setDragHandler” enables me to be notified only when nodes are dragged with the same tree, not one when is a div added to a tree.



Thanks,

Josh

There is no inner event generated in case of dragging of custom container in tree.
Please try to use attached js file instead of original one, with it onDrag event ( setDragHandler ) will work for custom containers as well.

dhtmlxtree_dragin.zip (1.17 KB)

thx