Check documentation for the latest version of dhtmlxSuite onBeforeDrag DHTMLX Docs

onBeforeDrag

fires when the drag operation starts

void onBeforeDrag(string|number id);
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