Configuration for the column dimension of a pivot.
Each item defines a field whose values will be used to generate dynamic columns in the pivot view.
Determines whether this column pivot is currently active.
Defaults to true
.
boolean
The column id used to generate pivoted columns.
string
The full configuration model for column pivoting in LyteNyte Grid.
This includes row grouping, column generation, value aggregation, and sort/filter configuration for the pivoted result.
Fields to pivot on for generating dynamic columns. See ColumnPivotColumnItem .
No properties
Filter configuration for the pivot view.
Like the sort model, filters apply to the dynamically generated pivot columns.
Type | Record |
In Filter configuration for the pivot view.
Like the sort model, in filters apply to the dynamically generated pivot columns.
Type | Record |
Row-level groupings for the pivot. See ColumnPivotRowItem .
No properties
Sort configuration for the pivot result view.
The sort keys must match dynamically generated pivot column ids.
No properties
The value items (measures) to compute and display in the pivot result.
Each value is aggregated for every dynamic column combination created by the pivot. See ColumnPivotValueItem .
No properties
Configuration for row-level grouping in a column pivot model.
These items define which fields should be used to group rows before creating pivot columns.
Indicates whether this grouping is active.
Defaults to true
. Set to false
to temporarily disable this row grouping without removing it.
boolean
The column id to group rows by.
string
Configuration for value fields in a pivot (also known as measures).
These values define what numeric or aggregate data should be shown for each cell in the pivot result.
Indicates whether this value item is enabled.
Defaults to true
. Set to false
to exclude this value from the pivot result.
boolean
The aggregation function to apply to the value. See AggModelFn .
Type | AggModelFn |
The column id representing the value to aggregate.
string