Skip to main content

beforeRowShow

fires before a row is shown on a page

beforeRowShow: (row: object) => boolean | void;

Parameters:

The callback of the event is called with the following parameters:

  • row: object - an object with a row configuration

Returns:

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

Example

treegrid.events.on("beforeRowShow", (row) => {
// your logic here
return false;
});

Related sample: TreeGrid. Events

Change log:

added in v7.0