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

# IMenuNext

- 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/menu.ts

Configuration for the aggregations menu.

**Signature:**

```typescript
export interface IMenu 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [aggregations?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.imenunext/index.md#imenunextaggregations) |  | boolean | _(Optional)_ If true, grand totals and subtotals can be added to the table using table menu. |
| [aggregationsSubMenu?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.imenunext/index.md#imenunextaggregationssubmenu) |  | boolean | _(Optional)_ If true, subtotals can be added to the table using table menu. |
| [aggregationsSubMenuForRows?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.imenunext/index.md#imenunextaggregationssubmenuforrows) |  | boolean | _(Optional)_ If true, total and subtotals for columns (yes, for columns, although the naming is rows) can be added to the table using table menu. This will be removed in the future, it's under feature flag control for development purposes. |
| [aggregationTypes?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.imenunext/index.md#imenunextaggregationtypes) |  | [TotalType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.totaltype/index.md)[] | _(Optional)_ Specifies which aggregation functions can be selected from the menu. |
| [totalLabelsEditable?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.imenunext/index.md#imenunexttotallabelseditable) |  | boolean | _(Optional)_ If true, grand total, subtotal, and total-column labels can be renamed from their contextual action menu. The custom label is stored in the [ITotal](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.itotal/index.md) alias. |

## Property details

### IMenuNext.aggregations

If true, grand totals and subtotals can be added to the table using table menu.

**Signature:**

```typescript
aggregations?: boolean;
```

#### Remarks

Default: false

### IMenuNext.aggregationsSubMenu

If true, subtotals can be added to the table using table menu.

**Signature:**

```typescript
aggregationsSubMenu?: boolean;
```

#### Remarks

Default: false

### IMenuNext.aggregationsSubMenuForRows

If true, total and subtotals for columns (yes, for columns, although the naming is rows) can be added to the table using table menu. This will be removed in the future, it's under feature flag control for development purposes.

**Signature:**

```typescript
aggregationsSubMenuForRows?: boolean;
```

#### Remarks

Default: false

### IMenuNext.aggregationTypes

Specifies which aggregation functions can be selected from the menu.

**Signature:**

```typescript
aggregationTypes?: TotalType[];
```

#### Remarks

Note: this option only impacts available menu items. It will not be used to filter totals that you specify on the pivot table props.

Default: all available types.

### IMenuNext.totalLabelsEditable

If true, grand total, subtotal, and total-column labels can be renamed from their contextual action menu. The custom label is stored in the [ITotal](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.itotal/index.md) alias.

**Signature:**

```typescript
totalLabelsEditable?: boolean;
```

#### Remarks

Intended for editing surfaces that handle visualization property updates through `pushData`. Default: false
