API reference: @salmonui/data-grid/engine
RowDragDropOptionsinterface
import type { RowDragDropOptions } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/row-drag-drop.
interface RowDragDropOptions {
readonly enabled?: boolean;
readonly allowGroupChange?: boolean;
readonly orderField?: string;
readonly handoff?: RowDragHandoff;
}
| Name | Signature | Description |
|---|---|---|
enabledoptional | readonly enabled?: boolean; | Enables row drag and drop. Default true when the module is registered. |
allowGroupChangeoptional | readonly allowGroupChange?: boolean; | Allow drops into another group (grouped column values are rewritten). Default false. |
orderFieldoptional | readonly orderField?: string; | Column id (or field) holding a persisted order; drops write new values to it. |
handoffoptional | readonly handoff?: RowDragHandoff; | Shared registry for drags between grids. |