TableEditor.setCellFocus method
TableEditor › setCellFocus
Unofficial
Focus a cell, rebuilding the table first if its source is malformed.Signature:
setCellFocus(row: number, col: number, selectionFn?: (view: EditorView) => CmEditorSelection): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| row | number | Row index. |
| col | number | Column index. |
| selectionFn? | (view: EditorView) => CmEditorSelection | Optional function computing the selection inside the cell editor. |
Returns: void