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

Example

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

See also
Change log

added in v6.5

Back to top