AdaptableNumberCellEditorParams
Adaptable number editor parameters extending the AG Grid .
TypeScript
export interface AdaptableNumberCellEditorParams extendsExtends
ICellEditorParams
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| emptyValue | string | Value to set for the cell, when the clear button is pressed | '' (empty string) |
| 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 | 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
TypeScript
emptyValue: string;Default Value
'' (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.
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
TypeScript
showClearButton: boolean;Default Value
true
Property Value
boolean