API reference: @salmonui/data-grid/engine/row-drag-drop
RowDragMoveCommandtype
import type { RowDragMoveCommand } from '@salmonui/data-grid/engine/row-drag-drop';type RowDragMoveCommand = {
type: 'rowDragDrop.move';
rowIds: RowId[];
targetRowId: RowId | null;
position: 'before' | 'after' | 'into';
};
Programmatic reorder. into (tree mode) makes the rows the last children of the target.
| Name | Signature | Description |
|---|---|---|
type | type: 'rowDragDrop.move'; | |
rowIds | rowIds: RowId[]; | |
targetRowId | targetRowId: RowId | null; | |
position | position: 'before' | 'after' | 'into'; |