# @salmonui/data-grid/engine/row-drag-state API reference

> 3 exported symbols of @salmonui/data-grid/engine/row-drag-state: 2 functions and 1 constant.

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

```ts
import { … } from '@salmonui/data-grid/engine/row-drag-state';
```

## Functions

### createInitialRowDragState

Kind: function

Page: https://salmonui.dev/docs/reference/data-grid/engine-row-drag-state/createInitialRowDragState

```ts
function createInitialRowDragState<Row>(options: DataGridOptions<Row>): RowDragDropState;
```

The state `createRowDragDropModule().initialState(options)` returns: no drag, no drop.

### createRowDragHandoff

Kind: function

Page: https://salmonui.dev/docs/reference/data-grid/engine-row-drag-state/createRowDragHandoff

```ts
function createRowDragHandoff(): RowDragHandoff;
```

## Constants

### ROW_DRAG_COMMANDS

Kind: const

Page: https://salmonui.dev/docs/reference/data-grid/engine-row-drag-state/ROW_DRAG_COMMANDS

```ts
const ROW_DRAG_COMMANDS: readonly RowDragCommand['type'][];
```

Command types of the `rowDragDrop` module (a renderer that registers the module lazily declares them up front).
