RealGrid2 API
Interface
EditResult

EditResult

Output information after cell editing used in GridBase.onGetEditValue

Signature:

export interface EditResult

Remarks

In the case of DropDownCellEditor, SearchCellEditor, and MultiCheckCellEditor, the value corresponding to the labels is output to editResult.text, and the value corresponding to the values is output to editResult.value.

In the case of DateCellEditor, a value formatted with the editor's datetimeFormat is output to editResult.text, and a Date object is output to editResult.value.

In the case of other editors, the same values are output for text and value.

Properties

PropertyTypeDescription
listany| any[]Value passed from DropDownCellEditor.listCallback
oldValueanyData value of the cell before editing
textstringtext
valueanyvalue

Properties Desc

list

Value passed from DropDownCellEditor.listCallback

Type - any | any[]


oldValue

Data value of the cell before editing

Type - any


text

text

Type - string


value

value

Type - any