property

ColumnPivotColumnItem

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.

active

property

Determines whether this column pivot is currently active.

Defaults to true .

Type

boolean

field

property

The column id used to generate pivoted columns.

Type

string

property

ColumnPivotModel

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.

columns

property

Fields to pivot on for generating dynamic columns. See ColumnPivotColumnItem .

No properties

filters

property

Filter configuration for the pivot view.

Like the sort model, filters apply to the dynamically generated pivot columns.

TypeRecord

filtersIn

property

In Filter configuration for the pivot view.

Like the sort model, in filters apply to the dynamically generated pivot columns.

TypeRecord

rows

property

Row-level groupings for the pivot. See ColumnPivotRowItem .

No properties

sorts

property

Sort configuration for the pivot result view.

The sort keys must match dynamically generated pivot column ids.

No properties

values

property

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

property

ColumnPivotRowItem

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.

active

property

Indicates whether this grouping is active.

Defaults to true . Set to false to temporarily disable this row grouping without removing it.

Type

boolean

field

property

The column id to group rows by.

Type

string

property

ColumnPivotValueItem

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.

active

property

Indicates whether this value item is enabled.

Defaults to true . Set to false to exclude this value from the pivot result.

Type

boolean

aggFn

property

The aggregation function to apply to the value. See AggModelFn .

field

property

The column id representing the value to aggregate.

Type

string