TableEditor.dispatchTable method
TableEditor › dispatchTable
Unofficial
Rebuild the table and dispatch it to the editor as a single change.Signature:
dispatchTable(focusRow?: number, focusCol?: number, selectionFn?: (view: EditorView) => CmEditorSelection): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| focusRow? | number | Row to focus after dispatch. |
| focusCol? | number | Column to focus after dispatch. |
| selectionFn? | (view: EditorView) => CmEditorSelection | Optional function computing the selection inside the focused cell. |
Returns: void