beforeColumnDrag

fires before a user drags a column

boolean beforeColumnDrag(string id){ ... };

Parameters

idstringthe column Id

Returns

booleanfalse - to prevent dragging a column, otherwise true

Available only in PRO Edition

Example

grid.events.on("BeforeColumnDrag", function(id){
    // your logic here
    return false;
});

Related samples

Details

This functionality requires PRO version of the dhtmlxGrid (or DHTMLX suite) package.

See also
Change log

added in v6.5

Back to top