Skip to main content

beforeColumnHide

fires before a column is hidden

beforeColumnHide: (col: ICol) => boolean | void;

Parameters:

col: object - an object with a column configuration

Returns:

Return false to prevent a column from being hidden; otherwise, true.

Example

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

Related sample: Grid. Events

Change log:

added in v7.0