Interface CellEditorIf

A cell editor of Excel-style editing: lives in one element above the cell (it survives scrolling) until it is committed or cancelled. Built-in: TextCellEditor, NumberCellEditor, SelectCellEditor, DateCellEditor. The table handles Enter, Tab, Escape and the arrow keys; an editor that needs a key itself (a list, a date field) says so in wantsKey.

Example

class UpperCaseEditor extends TextCellEditor {
override getValue(): unknown {
return String(super.getValue()).toUpperCase();
}
}
ColumnDef.create({ property: "code", editable: TrueFn, editor: ctx => new UpperCaseEditor() });

Since

1.1.99

Hierarchy

  • CellEditorIf

Implemented by

Methods