# RowDragMoveByCommand (@salmonui/data-grid/engine/row-drag-drop)

> The RowDragMoveByCommand type of @salmonui/data-grid/engine/row-drag-drop: Keyboard reorder: move the rows offset data rows up (negative) or down.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine-row-drag-drop/RowDragMoveByCommand

```ts
import type { RowDragMoveByCommand } from '@salmonui/data-grid/engine/row-drag-drop';
```

Entry index: https://salmonui.dev/docs/reference/data-grid/engine-row-drag-drop (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine-row-drag-drop.md).

## Reference

Kind: type

```ts
type RowDragMoveByCommand = {
    type: 'rowDragDrop.moveBy';
    rowIds: RowId[];
    offset: number;
};
```

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

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'rowDragDrop.moveBy';` |  |  |
| `rowIds` | `rowIds: RowId[];` |  |  |
| `offset` | `offset: number;` |  |  |
