> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# PivotTableNext()

- Package: [@gooddata/sdk-ui-pivot](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-pivot/src/next/PivotTableNext.tsx
- Guides: [Pivot table](https://www.gooddata.ai/docs/gooddata-ui/latest/visualisations/pivot-table/index.md)

PivotTableNext is the new pivot table component built on AG Grid Enterprise.

This component replaces the legacy PivotTable component and offers: - Better performance for large datasets - Configurable text wrapping for long content - Cell selection and copy capabilities - Advanced column resizing options

**Signature:**

```typescript
export declare function PivotTableNext(props: IPivotTableNextProps): import("react/jsx-runtime").JSX.Element;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| props | [IPivotTableNextProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md) |  |

**Returns:**

import("react/jsx-runtime").JSX.Element

## Remarks

This component uses AG Grid Enterprise. While an AG Grid license is optional, tables will display a watermark without one. For production use, you can provide your license via the `agGridToken` prop or using `AgGridTokenProvider`.

The legacy PivotTable component will be replaced by PivotTableNext in the next major version. We will also remove all '\*next' suffixes from the component names and move this component to the main package exports.
