WarUI

Variable detail heights with virtualization

GRID-A17-F12P1baselinePlanned

Detail panels can have fixed, function-computed or auto-measured heights. Virtualized scrolling stays smooth and accurate, and measured heights are cached and re-measured when the content resizes. This lets rich details coexist with large datasets.

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

50,000 rows with auto-height details of random lengths. Some details are expanded.

Expected behavior

Scrolling stays stable and the scrollbar reflects the true total height. Growing the content triggers a re-measure without the viewport jumping.

Planned API surface

detailRowHeight (number | function | 'auto')detailMaxHeightonDetailResizedrefreshDetailHeightrowVirtualization

Acceptance criteria

  • The scroll position anchor is preserved when an off-screen height changes (pending)
  • Auto mode measures once and caches the height until the content resizes (pending)
  • detailMaxHeight enables internal scrolling in the detail (pending)
  • Scrolling maintains 60fps on the reference device with 50,000 rows (pending)
  • refreshDetailHeight recalculates on demand (pending)