# Column_RowAggregation

# Interface: Column\_RowAggregation\<TFeatures, TData\>

Defined in: [features/row-aggregation/rowAggregationFeature.types.ts:264](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-aggregation/rowAggregationFeature.types.ts#L264)

Column instance APIs installed by `rowAggregationFeature`.

## Type Parameters

### TFeatures

`TFeatures` *extends* [`TableFeatures`](TableFeatures.md)

### TData

`TData` *extends* [`RowData`](../type-aliases/RowData.md)

## Properties

### getAggregationFns()

```ts
getAggregationFns: () => readonly ResolvedAggregationFn<TFeatures, TData>[];
```

Defined in: [features/row-aggregation/rowAggregationFeature.types.ts:269](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-aggregation/rowAggregationFeature.types.ts#L269)

Resolves the configured scalar or multiple aggregation definitions.

#### Returns

readonly [`ResolvedAggregationFn`](ResolvedAggregationFn.md)\<`TFeatures`, `TData`\>[]

***

### getAggregationValue()

```ts
getAggregationValue: <TResult>(options?) => TResult;
```

Defined in: [features/row-aggregation/rowAggregationFeature.types.ts:277](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-aggregation/rowAggregationFeature.types.ts#L277)

Aggregates this column over the default pre-grouped row model, or over a
caller-provided array of rows. `options.maxDepth` overrides the column's
`maxAggregationDepth`. Explicit-row calls are intentionally not cached.

#### Type Parameters

##### TResult

`TResult` = [`ColumnAggregationValue`](../type-aliases/ColumnAggregationValue.md)\<`TFeatures`\>

#### Parameters

##### options?

[`AggregationValueOptions`](AggregationValueOptions.md)\<`TFeatures`, `TData`\>

#### Returns

`TResult`

***

### getAutoAggregationFn()

```ts
getAutoAggregationFn: () =>
  | AggregationFnDef<TFeatures, TData, any, any>
  | undefined;
```

Defined in: [features/row-aggregation/rowAggregationFeature.types.ts:281](https://github.com/TanStack/table/blob/main/packages/table-core/src/features/row-aggregation/rowAggregationFeature.types.ts#L281)

Infers `sum` for a numeric first row and `extent` for a Date first row.

#### Returns

  \| [`AggregationFnDef`](AggregationFnDef.md)\<`TFeatures`, `TData`, `any`, `any`\>
  \| `undefined`
