@serenity-is/sleekgrid / EditorHost
Interface: EditorHost
Defined in: src/core/editing.ts:47
Minimal grid/host surface required by cell editors to navigate and resolve editors.
Extended by
Properties
onCompositeEditorChange
onCompositeEditorChange:
EventEmitter<any>
Defined in: src/core/editing.ts:55
Emits when a composite-editor field value changes; editors forward changes through this.
Methods
getActiveCell()
getActiveCell():
RowCell
Defined in: src/core/editing.ts:49
Returns the currently active cell, or null when no cell is active.
Returns
getEditorFactory()
getEditorFactory():
EditorFactory
Defined in: src/core/editing.ts:57
Resolves the editor factory for a given column/row.
Returns
navigateNext()
navigateNext():
boolean
Defined in: src/core/editing.ts:51
Moves focus to the next focusable cell.
Returns
boolean
true if focus moved.
navigatePrev()
navigatePrev():
boolean
Defined in: src/core/editing.ts:53
Moves focus to the previous focusable cell.
Returns
boolean
true if focus moved.