fires when an item is dragged to another target and the mouse is released, the event can be blocked
sId | string|number | the id of the source item |
tId | string|number | the id of the target item |
sObj | object | the source grid object |
tObj | object | the target grid object |
sInd | number | the index of the column from which drag has started |
tInd | number | the index of the column in which drop occurs |
boolean | true - confirms drag-and-drop, false - denies drag-and-drop |
Available only in PRO Edition
grid.attachEvent("onDrag", function(sId,tId,sObj,tObj,sInd,tInd){
// your code here
});
to get more info, read the article Drag-and-Drop Support
Back to top