View as Markdown

API reference: @salmonui/data-grid/engine/row-drag-drop

RowDragMoveByCommandtype

import type { RowDragMoveByCommand } from '@salmonui/data-grid/engine/row-drag-drop';
type RowDragMoveByCommand = {
    type: 'rowDragDrop.moveBy';
    rowIds: RowId[];
    offset: number;
};

Keyboard reorder: move the rows offset data rows up (negative) or down.

RowDragMoveByCommand members (3)
NameSignatureDescription
typetype: 'rowDragDrop.moveBy';
rowIdsrowIds: RowId[];
offsetoffset: number;