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
setServerGroupSelectionState(input: unknown): Promise<SyGridServerSelectionSetResult>| Arguments | Required | Type |
|---|---|---|
| input | Required | unknown |
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
- Server-side row model
In this model, the server calculates grouping and pivots and supplies rows for each expanded group path. Its data responsibilities differ from grouping already loaded local rows with groupBy.