Skip to main content

afterCollapse

fires after collapsing a treegrid

afterCollapse: (rowId: string | number) => void;

Parameters:

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

  • rowId: string | number - the id of a collapsed row

Example

treeGrid.events.on("afterCollapse", (rowId) => {
// your logic here
});

Related sample: TreeGrid. Events

Change log:

added in v6.4