onDragIn

fires when an item is dragged to a potential target (the event can be blocked)

void onDragIn(string|number dId,string|number tId,object sObj,object tObj){ ... };

Parameters

dIdstring|numberthe id of the dragged item
tIdstring|numberthe id of the potential drop landing
sObjobjecta grid object
tObjobjectthe target grid object

Available only in PRO Edition

Example

mygrid.attachEvent("onDragIn", function(dId,tId,sObj,tObj){
    //your code here
});

Back to top