# Grouping and Pivoting

Canonical page: https://infinite-table.com/docs/learn/grouping-and-pivoting/

Infinite Table comes with grouping and pivoting capabilities built-in. The `DataSource` component does the actual data grouping and pivoting - while the `InfiniteTable` component does the specialized rendering.

Learn row grouping and explore the possibilities.

Read thorough documentation covering pivoting and aggregation.

**Example: Simple row grouping**

```ts files=["row-grouping-example.page.tsx","columns.ts"]

```
