WarUI

Drag to and from external drop zones

GRID-A19-F23P2beyond-baselinePlanned

Lets rows be dropped onto arbitrary non-grid page elements and accepts external draggable items as new rows. This connects grids to trash bins, folders, calendars or file drops.

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

Live example

A document grid with an external 'Archive' and 'Trash' panel, plus a sidebar of draggable cards.

Expected behavior

Dropping on Trash removes the row and shows an undo toast. Dropping on Archive tags the row. Dragging a card into the grid inserts a new row at the drop position. In native mode, rows can be dropped into another browser window as JSON or text.

Planned API surface

api.addRowDropZoneexternalDragSourceonExternalDropdataTransferFormattransformDroppedRownativeDragDrop

Acceptance criteria

  • External drop zones receive the row data and a pointer position callback (pending)
  • Native mode sets application/json and text/plain data on the dataTransfer (pending)
  • External items are inserted only when accepted by the transform hook (pending)
  • Every external drop action has a keyboard-accessible equivalent documented in the demo (pending)