Skip to main content

beforeHide

fires before a cell is hidden

beforeHide: (id: string) => boolean | void;

Parameters:

id: string - the id of a cell

Returns:

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

Example

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

Related sample: Layout. Events

Change log:

added in v6.2