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

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

Related sample: TreeGrid. Events

Change log:

added in v7.0