# ExpressionEditorButtonsContext

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

Context passed when evaluating `expressionOptions.expressionEditorButtons`

```ts title="TypeScript"
export interface ExpressionEditorButtonsContext extends BaseContext 
```

###### Extends

[`BaseContext`](https://www.adaptabletools.com/docs/reference/basecontext.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [defaultButtons](https://www.adaptabletools.com/docs/reference/expressioneditorbuttonscontext.md#defaultbuttons) | [`ExpressionEditorButton`](https://www.adaptabletools.com/docs/reference/expressioneditorbutton.md)`[]` | AdapTable&#39;s default buttons for this editor type |
| [editorType](https://www.adaptabletools.com/docs/reference/expressioneditorbuttonscontext.md#editortype) | [`ExpressionEditorType`](https://www.adaptabletools.com/docs/reference/expressioneditortype.md) | Coarse editor category: `scalar` \| `aggregated` \| `cumulative` \|<br/>`quantile` \| `window` \| `observable` (the Observable Calculated Column<br/>editor — hosts that add chips to `scalar` usually want them here too) |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/expressioneditorbuttonscontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### defaultButtons

AdapTable&#39;s default buttons for this editor type

```ts title="TypeScript"
defaultButtons: ExpressionEditorButton[];
```

###### Property Value

[`ExpressionEditorButton`](https://www.adaptabletools.com/docs/reference/expressioneditorbutton.md)`[]`

### editorType

Coarse editor category: `scalar` | `aggregated` | `cumulative` |
`quantile` | `window` | `observable` (the Observable Calculated Column
editor — hosts that add chips to `scalar` usually want them here too)

```ts title="TypeScript"
editorType: ExpressionEditorType;
```

###### Property Value

[`ExpressionEditorType`](https://www.adaptabletools.com/docs/reference/expressioneditortype.md)

### adaptableContext

> *Inherited from [BaseContext](https://www.adaptabletools.com/docs/reference/basecontext.md)*

Custom application Context provided in `AdaptableOptions.adaptableContext`

```ts title="TypeScript"
adaptableContext: any;
```

###### Property Value

`any`
