API REFERENCE
setValueColumns
Replaces the pivot value axis through the validated update path and returns success.
What does this API do?
Replaces the pivot value axis through the validated update path and returns success.
API for Pro features: Pivot
Exact input and result types
setValueColumns(columns: string[]): Promise<boolean>| Arguments | Required | Type |
|---|---|---|
| columns | Required | string[] |
The return type is Promise<boolean>.
Usage flow
After registering and initializing the Grid element, call grid.setValueColumns(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Feature explanations and examples
- Pivot analysis
Pivoting divides source orders into row, column, and value axes to create a cross-tabulation. Unlike collapsible row groups, unique values such as statuses become new result columns.