WarUI

Drag Rows Between Grids

GRID-A26-F09P1baselinePlanned

Users can drag one or more rows from one grid and drop them into another grid at a chosen position. The operation can move or copy rows, with optional transformation and validation. Keyboard alternatives are included.

Planned. This page shows the specification from issue #206. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A Backlog grid with 30 tasks and an empty Sprint grid. Drag handles are visible on the rows.

Expected behavior

Dropping a row inserts it at the indicated position. In move mode the row is removed from the source grid. Invalid drops show a 'not allowed' indicator and leave both grids unchanged.

Planned API surface

rowDragTargetsdropMode: 'move'|'copy'beforeRowDroprowDroppedtransformOnDropkeyboardMove

Acceptance criteria

  • The drop position indicator matches the actual insert index (pending)
  • beforeRowDrop can veto the drop or transform the rows (pending)
  • rowDropped fires with the source grid, target grid, rows and index (pending)
  • Keyboard users can move rows with a menu or shortcut that has the same effect as dragging (pending)