beforeColumnShow
fires before a column is shown on a page
beforeColumnShow: (column: object) => boolean | void;
Parameters:
The callback of the event is called with the following parameter:
column: object
- an object with a column configuration
Returns:
Return false
to prevent a column from being shown; otherwise, true
.
Example
treegrid.events.on("beforeColumnShow", (column) => {
// your logic here
return false;
});
Related sample: TreeGrid. Events
Change log:
added in v7.0