Skip to content

onBeforeColumnDrag

fires the moment you start dragging the column from its source position

function onBeforeColumnDrag(
// the source column id
sourceId: string,
// object the native event object
event: Event
): void
datagrid1.attachEvent("onBeforeColumnDrag", function(sourceId, event){
// some code
return true;
});

The event is blockable. Returning false will prevent column dragging.

Articles

API