fires when drag-and-drop has already been processed; besides, fires when the nodes are moved programmatically
| sId | string|number | id of the source item |
| tId | string|number | id of the target item |
| id | string|number | if the node is dropped as a sibling, id of the item to insert the source node before |
| sObject | object | dhtmlXTreeObject instance of the source tree |
| tObject | object | dhtmlXTreeObject instance of the target tree |
myTree.attachEvent("onDrop", function(sId, tId, id, sObject, tObject){
// your code here
});
"sId" value after inserting into the tree may be not equal to the initial id
Back to top