Type Editor / @type-editor/tables / commands/add-column-after / addColumnAfter
Function: addColumnAfter()
ts
function addColumnAfter(state, dispatch?): boolean;Defined in: tables/src/commands/add-column-after.ts:17
Command to add a column after the column with the selection.
Parameters
| Parameter | Type | Description |
|---|---|---|
state | PmEditorState | The current editor state |
dispatch? | DispatchFunction | Optional dispatch function to execute the command |
Returns
boolean
True if the command is applicable, false otherwise