Defined in: features/aggregation/aggregationFeature.types.ts:41
Additional values available when merging nested grouped results.
AggregationContext<TFeatures, TData, TValue>
TFeatures extends TableFeatures
TData extends RowData
TValue
TResult
childResults: readonly TResult[];Defined in: features/aggregation/aggregationFeature.types.ts:48
Results produced for each immediate child group, in child-row order.
childRows: readonly Row<TFeatures, TData>[];Defined in: features/aggregation/aggregationFeature.types.ts:50
Immediate child group rows corresponding to childResults.
column: Column<TFeatures, TData, TValue>;Defined in: features/aggregation/aggregationFeature.types.ts:20
The column whose values are being aggregated.
columnId: string;Defined in: features/aggregation/aggregationFeature.types.ts:22
Convenience alias for column.id.
getValue: (row) => TValue;Defined in: features/aggregation/aggregationFeature.types.ts:24
Reads this column's value from one of rows.
Row<TFeatures, TData>
TValue
optional groupingRow: Row<TFeatures, TData>;Defined in: features/aggregation/aggregationFeature.types.ts:30
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.
AggregationContext.groupingRow
rows: readonly Row<TFeatures, TData>[];Defined in: features/aggregation/aggregationFeature.types.ts:35
Terminal leaf rows included in this aggregation. The executor normalizes hierarchical and duplicate row inputs before invoking the definition.
table: Table<TFeatures, TData>;Defined in: features/aggregation/aggregationFeature.types.ts:37
The table that owns the column and rows.