API REFERENCE
setColumnGroupOpened
Expands or collapses the specified column group header.
What does this API do?
Expands or collapses the specified column group header.
Exact input and result types
setColumnGroupOpened(groupId: string, open: boolean): Promise<void>| Arguments | Required | Type |
|---|---|---|
| groupId | Required | string |
| open | Required | boolean |
The return type is Promise<void>.
Usage flow
After registering and initializing the Grid element, call grid.setColumnGroupOpened(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Feature explanations and examples
- Multi-level headers
Multi-level headers place related columns under a shared heading. Unlike row grouping, they do not change data counts or aggregate values.