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

typescript
setColumnGroupOpened(groupId: string, open: boolean): Promise<void>
ArgumentsRequiredType
groupIdRequiredstring
openRequiredboolean

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