Skip to content

TableEditor.insertColumn method

TableEditor › insertColumn

Unofficial

Insert a column into the table.

Signature:

insertColumn(focusRow: number, index: number, alignment: TableAlignment, copyFromCol?: boolean | undefined): void

Parameters:

ParameterTypeDescription
focusRownumberRow to focus after insertion.
indexnumberColumn index at which to insert.
alignmentTableAlignmentAlignment for the new column.
copyFromCol?boolean | undefinedWhether to copy the width of the column currently at index.

Returns: void