Check documentation for the latest version of dhtmlxSuite onDrop DHTMLX Docs

onDrop

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

Example

// 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
});

Details

This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.

Change log

added in version 2.3

Back to top