I have 2 treeview on te same interface, and I want to use the SetDragHandler to only drop child nodes onto the 2nd treeview…
If a user attempts to drag a parent folder/node into the 2nd treeview, then I want nothing to occur…
I would appreciate if you can answer this question, as I have posted questions in the past without any reply.
The tree|grid|treeGrid provides onDrag event, which occurs, when item draged on some other item - you can use it to specify custom d-n-d rules
ttree.setDragHandler(function(sid,tid,some,stree,ttree){
if (stree.hasChildren(sid)) return false; // block items which have children
return true;
});