Check documentation for the latest version of dhtmlxSuite onDrop DHTMLX Docs

onDrop

fires when an item is already placed in its final position

void onDrop(string|number sId,string|number tId,string|number dId,object sObj,object tObj,number sCol,number tCol);
sIdstring|numberthe id of the source item
tIdstring|numberthe id of the target item
dIdstring|numberthe id of the dropped item (makes sense for mercy drag-n-drop)
sObjobjectthe source grid object
tObjobjectthe target grid object
sColnumberthe index of the column from which drag started
tColnumberthe index of the column in which drop occurs

Available only in PRO Edition

Example

grid.attachEvent("onDrop", function(sId,tId,dId,sObj,tObj,sCol,tCol){
    // your code here
});

Details

the event can be used to catch the moment when the operation is finished

Back to top