API REFERENCE
collapseAllRowGroups
Collapses all collapsible row groups in the current data.
What does this API do?
Collapses all collapsible row groups in the current data.
API for Pro features: Row grouping, built-in aggregation and group totals
Exact input and result types
collapseAllRowGroups(): Promise<void>| Arguments | Required | Type |
|---|
The return type is Promise<void>.
Usage flow
After registering and initializing the Grid element, call grid.collapseAllRowGroups(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Feature explanations and examples
- Grouping and aggregation
Row grouping collects source rows with the same region or team into expandable groups. Unlike column groups, which organize headers, row groups change displayed rows and aggregation results.