Defined in: features/row-aggregation/rowAggregationFeature.types.ts:15
Values and table objects available while one aggregation is evaluated.
TFeatures extends TableFeatures
TData extends RowData
TValue = unknown
column: Column<TFeatures, TData, TValue>;Defined in: features/row-aggregation/rowAggregationFeature.types.ts:21
The column whose values are being aggregated.
columnId: string;Defined in: features/row-aggregation/rowAggregationFeature.types.ts:23
Convenience alias for column.id.
getValue: (row) => TValue;Defined in: features/row-aggregation/rowAggregationFeature.types.ts:33
Reads this column's value from one of rows.
Row<TFeatures, TData>
TValue
optional groupingRow?: Row<TFeatures, TData>;Defined in: features/row-aggregation/rowAggregationFeature.types.ts:39
The synthetic grouped row receiving this result. This property is omitted for root or caller-supplied-row aggregation. Its depth identifies the grouping level when grouped aggregation needs that distinction.
maxDepth: number;Defined in: features/row-aggregation/rowAggregationFeature.types.ts:25
Maximum relative sub-row depth used to select rows.
rows: readonly Row<TFeatures, TData>[];Defined in: features/row-aggregation/rowAggregationFeature.types.ts:44
Unique rows selected at maxDepth. Branches that end before maxDepth contribute their deepest available row.
optional subRows?: readonly Row<TFeatures, TData>[];Defined in: features/row-aggregation/rowAggregationFeature.types.ts:31
Immediate sub-rows for grouped aggregation. This property is omitted for root or caller-supplied-row aggregation. At a terminal grouping level these are the direct data rows; at a nested level they are sub-row groups.
table: Table<TFeatures, TData>;Defined in: features/row-aggregation/rowAggregationFeature.types.ts:46
The table that owns the column and rows.