Interface CellEditorContextIf

What a CellEditorIf gets when it opens (Excel-style editing, TableOptionsIf.editing).

Since

1.1.99

Hierarchy

  • CellEditorContextIf

Properties

ariaLabel: string

Accessible name of the editor (the column label).

columnDef?: ColumnDefIf

The column definition, if the model has one.

columnIndex: number

Model column index.

direction: "ltr" | "rtl"

Writing direction of the table.

domService: DomServiceIf

DOM access of the table.

input: string

The value as editor text, e.g. "42" – the editor starts with it unless typedText is set.

"enter" (typed) or "edit" (F2, Enter, double click).

row: unknown

The row object (the data of a tree row), undefined for models without objects.

rowIndex: number

Display row index of the edited body cell.

textSelection: "all" | "end"

"all": select the text, "end": caret at the end (F2 is always "end").

typedText?: string

The character typed to open the editor ("enter" mode); it replaces the content.

value: unknown

The current value of the cell (a pending value in a batch edit).

Methods