fires when an item is already placed in its final position
sId | string|number | the id of the source item |
tId | string|number | the id of the target item |
dId | string|number | the id of the dropped item (makes sense for mercy drag-n-drop) |
sObj | object | the source grid object |
tObj | object | the target grid object |
sCol | number | the index of the column from which drag started |
tCol | number | the index of the column in which drop occurs |
Available only in PRO Edition
grid.attachEvent("onDrop", function(sId,tId,dId,sObj,tObj,sCol,tCol){
// your code here
});
the event can be used to catch the moment when the operation is finished
Back to top