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
| Property | Type | Description | Defined in |
|---|---|---|---|
originIndex | number | The zero-based index of the column to move. | tables/src/utils/move-column.ts:24 |
pos | number | A position within the table. Used to locate the table node in the document. | tables/src/utils/move-column.ts:39 |
select | boolean | Whether to select the moved column after the operation completes. | tables/src/utils/move-column.ts:34 |
targetIndex | number | The zero-based index of the target position where the column should be moved to. | tables/src/utils/move-column.ts:29 |
tr | PmTransaction | The transaction to apply the column move operation to. | tables/src/utils/move-column.ts:19 |