onBeforeDrag

fires when the drag operation starts

void onBeforeDrag(string|number id){ ... };

Parameters

idstring|numberthe id of the dragged row

Example

grid.attachEvent("onBeforeDrag", function(id){
    //your code here
});

Details

The event can be blocked - return false to block the row's dragging

Back to top