# AdaptableNumberCellEditorParams

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

Adaptable number editor parameters extending the AG Grid .

```ts title="TypeScript"
export interface AdaptableNumberCellEditorParams extends ICellEditorParams 
```

###### Extends

`ICellEditorParams`

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [emptyValue](https://www.adaptabletools.com/docs/reference/adaptablenumbercelleditorparams.md#emptyvalue) | `string` | Value to set for the cell, when the clear button is pressed | &#39;&#39; (empty string) |
| [onValueChange](https://www.adaptabletools.com/docs/reference/adaptablenumbercelleditorparams.md#onvaluechange) | `(value: any) => void` | AG Grid callback. The editor calls this with the value as the user edits, so the grid can commit it. |   |
| [showClearButton](https://www.adaptabletools.com/docs/reference/adaptablenumbercelleditorparams.md#showclearbutton) | `boolean` | Whether to show the clear button. If `true`, it works together with `cellEditorParams.emptyValue` | true |

## Property Details

### emptyValue

Value to set for the cell, when the clear button is pressed

```ts title="TypeScript"
emptyValue: string;
```

###### Default Value

&#39;&#39; (empty string)

###### Property Value

`string`

### onValueChange

AG Grid callback. The editor calls this with the value as the user edits, so the grid can commit it.

```ts title="TypeScript"
onValueChange: (value: any) => void;
```

###### Property Value

`(value: any) => void`

### showClearButton

Whether to show the clear button. If `true`, it works together with `cellEditorParams.emptyValue`

```ts title="TypeScript"
showClearButton: boolean;
```

###### Default Value

true

###### Property Value

`boolean`
