# createInitialRowDragState (@salmonui/data-grid/engine/row-drag-state)

> The createInitialRowDragState function of @salmonui/data-grid/engine/row-drag-state: The state createRowDragDropModule().initialState(options) returns: no drag, no drop.

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

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

Also exported from `@salmonui/data-grid/engine/row-drag-drop`.

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

## Reference

Kind: function

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

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