TableEditor.receiveCellFocus method
TableEditor › receiveCellFocus
Unofficial
Focus a cell and create a cell editor for it.Signature:
receiveCellFocus(row: number, col: number, selectionFn?: ((view: EditorView) => EditorSelection) | undefined, isUserInitiated?: boolean | undefined): TableCellEditorParameters:
| Parameter | Type | Description |
|---|---|---|
| row | number | Row index. |
| col | number | Column index. |
| selectionFn? | ((view: EditorView) => EditorSelection) | undefined | Optional function computing the selection inside the cell editor. |
| isUserInitiated? | boolean | undefined | Whether the focus was triggered by the user. |
Returns: TableCellEditor — The table cell editor.