Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@
{ "label": "coreTablesFeature", "to": "reference/index/variables/coreTablesFeature" },
{ "label": "columnFilteringFeature", "to": "reference/index/variables/columnFilteringFeature" },
{ "label": "columnFacetingFeature", "to": "reference/index/variables/columnFacetingFeature" },
{ "label": "aggregationFeature", "to": "reference/index/variables/aggregationFeature" },
{ "label": "rowAggregationFeature", "to": "reference/index/variables/rowAggregationFeature" },
{ "label": "columnGroupingFeature", "to": "reference/index/variables/columnGroupingFeature" },
{ "label": "columnOrderingFeature", "to": "reference/index/variables/columnOrderingFeature" },
{ "label": "columnPinningFeature", "to": "reference/index/variables/columnPinningFeature" },
Expand Down
8 changes: 4 additions & 4 deletions docs/framework/alpine/guide/aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Aggregation (Alpine) Guide
- [Aggregation](../examples/aggregation)
- [Grouped Aggregation](../examples/grouped-aggregation)

Aggregation is independent from column grouping. Register `aggregationFeature`
Aggregation is independent from column grouping. Register `rowAggregationFeature`
whenever columns calculate totals or aggregated values. Add
`columnGroupingFeature` separately only when the table also groups rows.

Expand All @@ -21,7 +21,7 @@ directly to a column does not require a registry entry.

```ts
import {
aggregationFeature,
rowAggregationFeature,
aggregationFn_count,
aggregationFn_extent,
aggregationFn_mean,
Expand All @@ -31,7 +31,7 @@ import {
} from '@tanstack/alpine-table'

const features = tableFeatures({
aggregationFeature,
rowAggregationFeature,
aggregationFns: {
count: aggregationFn_count,
extent: aggregationFn_extent,
Expand Down Expand Up @@ -106,7 +106,7 @@ should produce grouped values.

```ts
const features = tableFeatures({
aggregationFeature,
rowAggregationFeature,
columnGroupingFeature,
groupedRowModel: createGroupedRowModel(),
aggregationFns: { sum: aggregationFn_sum },
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/alpine/guide/grouping.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Want to skip to the implementation? Check out these Alpine examples:

- [Grouping](../examples/grouping)

> **Note:** `columnGroupingFeature` and `aggregationFeature` are now separate features. Register either one independently, or register both when grouped rows should also calculate aggregate values. See the [Aggregation Guide](./aggregation) for aggregation setup.
> **Note:** `columnGroupingFeature` and `rowAggregationFeature` are now separate features. Register either one independently, or register both when grouped rows should also calculate aggregate values. See the [Aggregation Guide](./aggregation) for aggregation setup.

Read your reactive inputs such as `data` through a getter (for example backing them with `Alpine.reactive`) when creating the table, so the table sees updates.

Expand Down
8 changes: 4 additions & 4 deletions docs/framework/angular/guide/aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Aggregation (Angular) Guide
- [Aggregation](../examples/aggregation)
- [Grouped Aggregation](../examples/grouped-aggregation)

Aggregation is independent from column grouping. Register `aggregationFeature`
Aggregation is independent from column grouping. Register `rowAggregationFeature`
whenever columns calculate totals or aggregated values. Add
`columnGroupingFeature` separately only when the table also groups rows.

Expand All @@ -21,7 +21,7 @@ directly to a column does not require a registry entry.

```ts
import {
aggregationFeature,
rowAggregationFeature,
aggregationFn_count,
aggregationFn_extent,
aggregationFn_mean,
Expand All @@ -31,7 +31,7 @@ import {
} from '@tanstack/angular-table'

const features = tableFeatures({
aggregationFeature,
rowAggregationFeature,
aggregationFns: {
count: aggregationFn_count,
extent: aggregationFn_extent,
Expand Down Expand Up @@ -106,7 +106,7 @@ should produce grouped values.

```ts
const features = tableFeatures({
aggregationFeature,
rowAggregationFeature,
columnGroupingFeature,
groupedRowModel: createGroupedRowModel(),
aggregationFns: { sum: aggregationFn_sum },
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/angular/guide/grouping.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Want to skip to the implementation? Check out these Angular examples:

- [Grouping](../examples/grouping)

> **Note:** `columnGroupingFeature` and `aggregationFeature` are now separate features. Register either one independently, or register both when grouped rows should also calculate aggregate values. See the [Aggregation Guide](./aggregation) for aggregation setup.
> **Note:** `columnGroupingFeature` and `rowAggregationFeature` are now separate features. Register either one independently, or register both when grouped rows should also calculate aggregate values. See the [Aggregation Guide](./aggregation) for aggregation setup.

### Grouping Setup

Expand Down
426 changes: 206 additions & 220 deletions docs/framework/angular/guide/migrating.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/framework/ember/guide/aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Aggregation (Ember) Guide
- [Aggregation](../examples/aggregation)
- [Grouped Aggregation](../examples/grouped-aggregation)

Aggregation is independent from column grouping. Register `aggregationFeature`
Aggregation is independent from column grouping. Register `rowAggregationFeature`
whenever columns calculate totals or aggregated values. Add
`columnGroupingFeature` separately only when the table also groups rows.

Expand All @@ -21,7 +21,7 @@ directly to a column does not require a registry entry.

```ts
import {
aggregationFeature,
rowAggregationFeature,
aggregationFn_count,
aggregationFn_extent,
aggregationFn_mean,
Expand All @@ -31,7 +31,7 @@ import {
} from '@tanstack/ember-table'

const features = tableFeatures({
aggregationFeature,
rowAggregationFeature,
aggregationFns: {
count: aggregationFn_count,
extent: aggregationFn_extent,
Expand Down Expand Up @@ -106,7 +106,7 @@ should produce grouped values.

```ts
const features = tableFeatures({
aggregationFeature,
rowAggregationFeature,
columnGroupingFeature,
groupedRowModel: createGroupedRowModel(),
aggregationFns: { sum: aggregationFn_sum },
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/ember/guide/grouping.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Want to skip to the implementation? Check out these Ember examples:

- [Grouping](../examples/grouping)

> **Note:** `columnGroupingFeature` and `aggregationFeature` are now separate features. Register either one independently, or register both when grouped rows should also calculate aggregate values. See the [Aggregation Guide](./aggregation) for aggregation setup.
> **Note:** `columnGroupingFeature` and `rowAggregationFeature` are now separate features. Register either one independently, or register both when grouped rows should also calculate aggregate values. See the [Aggregation Guide](./aggregation) for aggregation setup.

### Grouping Setup

Expand Down
8 changes: 4 additions & 4 deletions docs/framework/lit/guide/aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Aggregation (Lit) Guide
- [Aggregation](../examples/aggregation)
- [Grouped Aggregation](../examples/grouped-aggregation)

Aggregation is independent from column grouping. Register `aggregationFeature`
Aggregation is independent from column grouping. Register `rowAggregationFeature`
whenever columns calculate totals or aggregated values. Add
`columnGroupingFeature` separately only when the table also groups rows.

Expand All @@ -22,7 +22,7 @@ directly to a column does not require a registry entry.
```ts
import {
TableController,
aggregationFeature,
rowAggregationFeature,
aggregationFn_count,
aggregationFn_extent,
aggregationFn_mean,
Expand All @@ -31,7 +31,7 @@ import {
} from '@tanstack/lit-table'

const features = tableFeatures({
aggregationFeature,
rowAggregationFeature,
aggregationFns: {
count: aggregationFn_count,
extent: aggregationFn_extent,
Expand Down Expand Up @@ -108,7 +108,7 @@ should produce grouped values.

```ts
const features = tableFeatures({
aggregationFeature,
rowAggregationFeature,
columnGroupingFeature,
groupedRowModel: createGroupedRowModel(),
aggregationFns: { sum: aggregationFn_sum },
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/lit/guide/grouping.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Want to skip to the implementation? Check out these Lit examples:

- [Grouping](../examples/grouping)

> **Note:** `columnGroupingFeature` and `aggregationFeature` are now separate features. Register either one independently, or register both when grouped rows should also calculate aggregate values. See the [Aggregation Guide](./aggregation) for aggregation setup.
> **Note:** `columnGroupingFeature` and `rowAggregationFeature` are now separate features. Register either one independently, or register both when grouped rows should also calculate aggregate values. See the [Aggregation Guide](./aggregation) for aggregation setup.

### Grouping Setup

Expand Down
Loading
Loading