Check documentation for the latest version of dhtmlxSuite onDragIn DHTMLX Docs

onDragIn

fires when the item is dragged over some target the item can be dropped to

boolean onDragIn(string|number sId,string|number tId,object sObject,object tObject);
sIdstring|numberid of the dragged item
tIdstring|numberid of the potential drop landing
sObjectobjectdhtmlXTreeObject instance of the source tree
tObjectobjectdhtmlXTreeObject instance of the target tree
booleantrue to allow dropping

Example

myTree.attachEvent("onDragIn", function(sId, tId, sObject, tObject){
    // your code here
});

Back to top