TanStack
Features API Reference

AggregationValueContext

Interface: AggregationValueContext<TFeatures, TData, TValue>

Defined in: features/row-aggregation/rowAggregationFeature.types.ts:309

Values passed to a column-level aggregation-value provider.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends CellData = CellData

Properties

column

ts
column: Column<TFeatures, TData, TValue>;

Defined in: features/row-aggregation/rowAggregationFeature.types.ts:315

The column whose value was requested.


maxDepth

ts
maxDepth: number;

Defined in: features/row-aggregation/rowAggregationFeature.types.ts:317

Maximum relative sub-row depth used for the request.


rows?

ts
optional rows: readonly Row<TFeatures, TData>[];

Defined in: features/row-aggregation/rowAggregationFeature.types.ts:319

Caller-provided rows, or undefined for the default row model.


table

ts
table: Table<TFeatures, TData>;

Defined in: features/row-aggregation/rowAggregationFeature.types.ts:321

The table that owns the column.