enable drag functionality on node basis rather than complete tree…
I want only particular node of a tree draggable…and dragged node can be dropped on other nodes of a tree
need help…thanks
You can use onDrag event to control drag-n-drop. If onDrag event handler returns true, the operation is confirmed. And it will be denied in the other case.
For example:
tree.attachEvent(“onDrag”,doOnDrag);
function doOnDrag(sourceId,targetId,beforeId,sourceTree,targetTree){
if(sourceId == “some_allowed_id”) return true
}