API REFERENCE

setServerGroupSelectionState

Replaces hierarchical selection state in the grouped server row model.

What does this API do?

Replaces hierarchical selection state in the grouped server row model.

API for Pro features: Server-Side Row Model

Exact input and result types

typescript
setServerGroupSelectionState(input: unknown): Promise<SyGridServerSelectionSetResult>
ArgumentsRequiredType
inputRequiredunknown

The return type is Promise<SyGridServerSelectionSetResult>.

Usage flow

After registering and initializing the Grid element, call grid.setServerGroupSelectionState(…). 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