# AdaptableMenuItemParams

Canonical page: https://www.adaptabletools.com/docs/reference/adaptablemenuitemparams

AdapTable extras passed on AG Grid `menuItemParams` for custom menu items.

```ts title="TypeScript"
export interface AdaptableMenuItemParams<TMenuContext = unknown> 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [adaptableApi](https://www.adaptabletools.com/docs/reference/adaptablemenuitemparams.md#adaptableapi) | [`AdaptableApi`](https://www.adaptabletools.com/docs/reference/adaptableapi.md) | AdapTable API for the grid that opened the menu. |
| [menuContext](https://www.adaptabletools.com/docs/reference/adaptablemenuitemparams.md#menucontext) | `TMenuContext` | Column menu or context menu context: the column, the row, and the cell the menu was opened on. |

## Property Details

### adaptableApi

AdapTable API for the grid that opened the menu.

```ts title="TypeScript"
adaptableApi: AdaptableApi;
```

###### Property Value

[`AdaptableApi`](https://www.adaptabletools.com/docs/reference/adaptableapi.md)

### menuContext

Column menu or context menu context: the column, the row, and the cell the menu was opened on.

```ts title="TypeScript"
menuContext: TMenuContext;
```

###### Property Value

`TMenuContext`
