API REFERENCE
getServerPivotResultColumns
Reads the server-supplied pivot result column model. Distinguish stale metadata from absent metadata.
What does this API do?
Reads the server-supplied pivot result column model. Distinguish stale metadata from absent metadata.
API for Pro features: Server-Side Row Model
Exact input and result types
getServerPivotResultColumns(): Promise<SyGridServerPivotColumnsReport | null>| Arguments | Required | Type |
|---|
The return type is Promise<SyGridServerPivotColumnsReport | null>.
Usage flow
After registering and initializing the Grid element, call grid.getServerPivotResultColumns(…). 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.