Check documentation for the latest version of dhtmlxSuite onDrop DHTMLX Docs

onDrop

fires when the dragged item is dropped

void onDrop(string|number id,string|number pId,number index);
idstring|numberthe dragged item's id
pIdstring|numberthe dragged item's new parent id
indexnumberthe dragged item's new index

Example

myTreeView.attachEvent("onDrop", function(id, pId, index){
    // your code here
});

Back to top