Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Josh on Apr 28, 2008 12:46
open dhtmlx forum
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
Answer posted by Support on Apr 29, 2008 01:41
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.
Attachments (1)
Answer posted by Josh on Apr 29, 2008 16:13
thx