WarUI

Preserve expansion across data updates

GRID-A17-F16P1baselinePlanned

When rowData is replaced or updated through transactions, expansion and open details are kept for rows whose ids still exist. This prevents the tree from collapsing on every live refresh. Optional animation highlights changed rows.

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

Live example

A server inventory tree with an auto-refresh timer every 3 seconds.

Expected behavior

With preserve on, expanded nodes stay open after each refresh. With it off, the tree resets. A node moved through data appears under its new parent and keeps its own expansion.

Planned API surface

getRowIdapplyTransactionpreserveExpansionOnUpdateflashChangedRowsonRowDataUpdated

Acceptance criteria

  • Expansion is preserved for rows with matching ids (pending)
  • Removed rows' state is garbage collected (pending)
  • Focus and scroll position are maintained (pending)
  • A transaction update re-renders only the affected rows (pending)