Skip to content

Type Editor


Type Editor / @type-editor/tables / utils/move-column / MoveColumnParams

Interface: MoveColumnParams

Defined in: tables/src/utils/move-column.ts:15

Parameters for moving a column within a table.

Properties

PropertyTypeDescriptionDefined in
originIndexnumberThe zero-based index of the column to move.tables/src/utils/move-column.ts:24
posnumberA position within the table. Used to locate the table node in the document.tables/src/utils/move-column.ts:39
selectbooleanWhether to select the moved column after the operation completes.tables/src/utils/move-column.ts:34
targetIndexnumberThe zero-based index of the target position where the column should be moved to.tables/src/utils/move-column.ts:29
trPmTransactionThe transaction to apply the column move operation to.tables/src/utils/move-column.ts:19