Unmanaged drag with server persistence
Emits drag events with source and target information without changing the order, so the application decides and persists the result. This fits server-driven ordering and optimistic updates with rollback.
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 playlist of 30 tracks in unmanaged mode with a mock save API and a configurable failure rate.
Expected behavior
Optimistic mode reorders immediately and reverts with an error toast when the save fails. Pessimistic mode shows a pending indicator before moving. Disallowed drops show a not-allowed indicator.
Planned API surface
rowDragManaged:falseonRowDragEndonRowDragMoveapi.applyTransactionisRowDropAllowedonRowDragCancelAcceptance criteria
- The grid does not change the row order in unmanaged mode unless the app applies a change (pending)
- onRowDragEnd provides the dragged row ids, the target row id and the position (above/below) (pending)
- isRowDropAllowed returning false shows a no-drop indicator and suppresses the drop event (pending)
- A rollback restores the exact previous order (pending)