Check documentation for the latest version of dhtmlxSuite onDragOver DHTMLX Docs


fires when when a dragged item is moved over the droppable area, cancelable

boolean onDragOver(string|number id,string|number pId,number index);
idstring|numberthe item's id
pIdstring|numberthe parent's id
indexnumberthe new item's index
booleantrue to allow highlighting the drop area and an item can be dropped at a certain place


myTreeView.attachEvent("onDragOver", function(id, pId, index){
    // your code here
    return true;

Back to top