Data Reorder Dragger
DataReorderDragger adds drag-and-drop reorder behavior for widgets that support it, including DataTableWidget and future data widgets.

It is commonly placed on the same GameObject as the widget it supports.
Inspector Fields
| Field | Description |
|---|---|
| Target | Component that handles reorder operations (for example DataTableWidget). |
| Cancel On Escape | Cancels the active drag when Escape is pressed. |
What It Does
- Starts drag from row-level drag commands
- Creates a drag overlay visual
- Creates and moves a layout placeholder
- Computes insertion position from pointer position
- Requests final insert and rebuild on drop
- Supports cancel behavior, including Escape cancel
Runtime Notes
- Drag visuals are temporarily moved to an overlay under the root canvas.
- Raycasts on the dragged row are disabled during drag to prevent input conflicts.
- Cancel restores the original slot and requests a UI rebuild.
Tips
- Add Data Item Drag Action to your row prefab, usually on a drag handle.
- Ensure rows are under a layout-driven content transform.