Skip to content

Type Editor


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

ParameterTypeDescription
statePmEditorStateThe current editor state
dispatch?DispatchFunctionOptional dispatch function to execute the command

Returns

boolean

True if the command is applicable, false otherwise