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

# IMenu

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

**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.imenu/index.md#imenuaggregations) |  | 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.imenu/index.md#imenuaggregationssubmenu) |  | boolean | _(Optional)_ If true, subtotals can be added to the table using table menu. TODO: remove for SDK9 |
| [aggregationsSubMenuForRows?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.imenu/index.md#imenuaggregationssubmenuforrows) |  | 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.imenu/index.md#imenuaggregationtypes) |  | [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. |

## Property details

### IMenu.aggregations

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

**Signature:**

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

#### Remarks

Default: false

### IMenu.aggregationsSubMenu

If true, subtotals can be added to the table using table menu. TODO: remove for SDK9

**Signature:**

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

#### Remarks

Default: false

### IMenu.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

### IMenu.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.
