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

# IPivotTableNextProps

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

Props for the PivotTableNext component.

**Signature:**

```typescript
export interface IPivotTableNextProps extends IVisualizationProps, IVisualizationCallbacks 
```
**Extends:** [IVisualizationProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.ivisualizationprops/index.md), [IVisualizationCallbacks](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.ivisualizationcallbacks/index.md)

## Remarks

PivotTableNext is the new implementation of the pivot table built on AG Grid Enterprise. It replaces the legacy PivotTable component and offers improved performance, accessibility, text wrapping, cell selection, and other enhanced features.

See [PivotTableNext()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.pivottablenext/index.md) for more information.

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [backend?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropsbackend) |  | [IAnalyticalBackend](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.ianalyticalbackend/index.md) | _(Optional)_ Backend to use for the pivot table. |
| [columns?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropscolumns) |  | [AttributesOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.attributesorplaceholders/index.md) | _(Optional)_ Columns to display in the pivot table. |
| [config?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropsconfig) |  | [PivotTableNextConfig](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.pivottablenextconfig/index.md) | _(Optional)_ Configuration for the pivot table. |
| [drillableItems?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropsdrillableitems) |  | [ExplicitDrill](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.explicitdrill/index.md)[] | _(Optional)_ Configure drillability; e.g. which parts of the visualization can be interacted with. |
| [execConfig?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropsexecconfig) |  | [IExecutionConfig](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iexecutionconfig/index.md) | _(Optional)_ Execution configuration to apply when computing data for the table. |
| [filters?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropsfilters) |  | [NullableFiltersOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.nullablefiltersorplaceholders/index.md) | _(Optional)_ Filters to apply to the pivot table. |
| [measures?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropsmeasures) |  | [AttributesMeasuresOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.attributesmeasuresorplaceholders/index.md) | _(Optional)_ Measures to display in the pivot table. |
| [onColumnResized?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropsoncolumnresized) |  | [ColumnResizedCallback](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.columnresizedcallbacknext/index.md) | _(Optional)_ Specify function to call when user manually resizes a table column. |
| [pageSize?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropspagesize) |  | number | _(Optional)_ Customize size of page when fetching data from backend. |
| [placeholdersResolutionContext?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropsplaceholdersresolutioncontext) |  | any | _(Optional)_ Optional resolution context for composed placeholders. |
| [rows?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropsrows) |  | [AttributesOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.attributesorplaceholders/index.md) | _(Optional)_ Rows to display in the pivot table. |
| [sortBy?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropssortby) |  | [SortsOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.sortsorplaceholders/index.md) | _(Optional)_ Sort by to apply to the pivot table. |
| [totals?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropstotals) |  | [TotalsOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.totalsorplaceholders/index.md) | _(Optional)_ Totals to display in the pivot table. |
| [workspace?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablenextprops/index.md#ipivottablenextpropsworkspace) |  | string | _(Optional)_ Workspace to use for the pivot table. |

## Property details

### IPivotTableNextProps.backend

Backend to use for the pivot table.

**Signature:**

```typescript
backend?: IAnalyticalBackend;
```

### IPivotTableNextProps.columns

Columns to display in the pivot table.

**Signature:**

```typescript
columns?: AttributesOrPlaceholders;
```

### IPivotTableNextProps.config

Configuration for the pivot table.

**Signature:**

```typescript
config?: PivotTableNextConfig;
```

### IPivotTableNextProps.drillableItems

Configure drillability; e.g. which parts of the visualization can be interacted with.

**Signature:**

```typescript
drillableItems?: ExplicitDrill[];
```

### IPivotTableNextProps.execConfig

Execution configuration to apply when computing data for the table.

**Signature:**

```typescript
execConfig?: IExecutionConfig;
```

### IPivotTableNextProps.filters

Filters to apply to the pivot table.

**Signature:**

```typescript
filters?: NullableFiltersOrPlaceholders;
```

### IPivotTableNextProps.measures

Measures to display in the pivot table.

**Signature:**

```typescript
measures?: AttributesMeasuresOrPlaceholders;
```

### IPivotTableNextProps.onColumnResized

Specify function to call when user manually resizes a table column.

**Signature:**

```typescript
onColumnResized?: ColumnResizedCallback;
```

### IPivotTableNextProps.pageSize

Customize size of page when fetching data from backend.

**Signature:**

```typescript
pageSize?: number;
```

#### Remarks

Default is 100.

### IPivotTableNextProps.placeholdersResolutionContext

Optional resolution context for composed placeholders.

**Signature:**

```typescript
placeholdersResolutionContext?: any;
```

### IPivotTableNextProps.rows

Rows to display in the pivot table.

**Signature:**

```typescript
rows?: AttributesOrPlaceholders;
```

### IPivotTableNextProps.sortBy

Sort by to apply to the pivot table.

**Signature:**

```typescript
sortBy?: SortsOrPlaceholders;
```

### IPivotTableNextProps.totals

Totals to display in the pivot table.

**Signature:**

```typescript
totals?: TotalsOrPlaceholders;
```

### IPivotTableNextProps.workspace

Workspace to use for the pivot table.

**Signature:**

```typescript
workspace?: string;
```
