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) => EditorSelection) | undefined): voidParameters:
| 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. |
Returns: void