Skip to content

Type Editor


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

PropertyTypeDescriptionDefined in
originIndexnumberThe zero-based index of the row to move.tables/src/utils/move-row.ts:23
posnumberA document position within the table. Used to locate the table node.tables/src/utils/move-row.ts:38
selectbooleanWhether to select the moved row after the operation completes.tables/src/utils/move-row.ts:33
targetIndexnumberThe zero-based index of the target position where the row should be moved to.tables/src/utils/move-row.ts:28
transactionPmTransactionThe transaction to apply the row move operation to.tables/src/utils/move-row.ts:18