WarUI

State Preservation Across Data Updates

GRID-A03-F25P1beyond-baselinePlanned

This feature demonstrates and documents how selection, focus, scroll, expansion and edit state survive every type of data update, by row id. A diagnostic panel shows what was preserved after each update, which makes the guarantees testable.

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

Live example

A grid with a selection, a focused cell, a scrolled position and an active edit.

Expected behavior

State is preserved after each update type, and the panel reports the outcome.

Planned API surface

getRowIdpreserveStateOnUpdateonStatePreserved

Acceptance criteria

  • Selection survives every update type when getRowId is set (pending)
  • Focus follows the row by id (pending)
  • An active edit is not overwritten, and a conflict is flagged instead (pending)
  • The scroll position is retained (pending)