|
Title: Tree onDrop Post by: stollar on February 21, 2016, 10:34:39 AM I need to send drag-drop details back to the server with an ajax call.
However the onDrop(target, source, point) function gives me the target as the DOM element, the source is the node being dragged. What I need is the data-item where we're dropping so how do we get from the DOM-target to the tree-node where we drop? Title: Re: Tree onDrop Post by: jarry on February 21, 2016, 04:55:17 PM You can call 'getNode' method to get the target node data.
Code: onDrop: function(target,source,point){ |