Skip to main content

beforeColumnShow

fires before a column is shown on a page

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

Parameters:

col: object - an object with a column configuration

Returns:

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

Example

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

Related sample: Grid. Events

Change log:

added in v7.0