# RowDragDropOptions (@salmonui/data-grid/engine)

> The RowDragDropOptions interface of @salmonui/data-grid/engine.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/RowDragDropOptions

```ts
import type { RowDragDropOptions } from '@salmonui/data-grid/engine';
```

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

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

## Reference

Kind: interface

```ts
interface RowDragDropOptions {
    readonly enabled?: boolean;
    readonly allowGroupChange?: boolean;
    readonly orderField?: string;
    readonly handoff?: RowDragHandoff;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `enabled` | `readonly enabled?: boolean;` | optional | Enables row drag and drop. Default true when the module is registered. |
| `allowGroupChange` | `readonly allowGroupChange?: boolean;` | optional | Allow drops into another group (grouped column values are rewritten). Default false. |
| `orderField` | `readonly orderField?: string;` | optional | Column id (or field) holding a persisted order; drops write new values to it. |
| `handoff` | `readonly handoff?: RowDragHandoff;` | optional | Shared registry for drags between grids. |
