Type Editor / @type-editor/tables / utils/move-row / MoveRowParams
Interface: MoveRowParams
Defined in: tables/src/utils/move-row.ts:14
Parameters for moving a row within a table.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
originIndex | number | The zero-based index of the row to move. | tables/src/utils/move-row.ts:23 |
pos | number | A document position within the table. Used to locate the table node. | tables/src/utils/move-row.ts:38 |
select | boolean | Whether to select the moved row after the operation completes. | tables/src/utils/move-row.ts:33 |
targetIndex | number | The zero-based index of the target position where the row should be moved to. | tables/src/utils/move-row.ts:28 |
transaction | PmTransaction | The transaction to apply the row move operation to. | tables/src/utils/move-row.ts:18 |