Check documentation for the latest version of dhtmlxSuite onDrop DHTMLX Docs


fires when the user drops a custom draggable node into the files list

void onDrop(object node,object fileData);
nodeobjectcustom node DOM element
fileDataobjectfile data specified in a custom node


// firstly, add a draggable node
myVault.addDragableNode("nodeId", {name: "price.xls", size: 257412});
// then you can retrieve it from event
myVault.attachEvent("onDrop", function(node, fileData){
    // your code here


This API page is for Vault v2.5. Please go to to see API reference for the current version of dhtmlxVault.

Change log

added in version 2.3

Back to top