Skip to main content

beforeShow

fires before a cell is shown

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

Parameters:

id: string - the id of a cell

Returns:

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

Example

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

Related sample: Layout. Events

Change log:

added in v6.2