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