API REFERENCE

selectServerGroupChildren

Selects or deselects server descendants beneath a group-key path.

What does this API do?

Selects or deselects server descendants beneath a group-key path.

API for Pro features: Server-Side Row Model

Exact input and result types

typescript
selectServerGroupChildren(groupKeys: ReadonlyArray<string>, action?: 'select' | 'deselect'): Promise<SyGridServerGroupChildrenResult>
ArgumentsRequiredType
groupKeysRequiredReadonlyArray<string>
actionOptional'select' | 'deselect'

The return type is Promise<SyGridServerGroupChildrenResult>.

Usage flow

After registering and initializing the Grid element, call grid.selectServerGroupChildren(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

Read related types

Feature explanations and examples