WarUI

Fill-container layout

GRID-A25-F13P0baselinePlanned

In fill layout, the grid takes 100% of its parent's width and height and virtualizes inside. This is the standard pattern for full-screen apps and flex or CSS grid dashboards, and the docs explain the parent-height requirements that commonly cause zero-height grids.

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

Live example

A resizable flex container (header + grid) with 100,000 rows.

Expected behavior

The grid fills the space and adjusts on resize. With the common flex mistake (no min-height: 0), the demo reproduces the overflow and the grid emits a layoutwarning explaining the fix.

Planned API surface

layout option ('fill')refreshLayout() methodlayoutwarning event

Acceptance criteria

  • The grid fills its parent's content box in flex, CSS grid and absolute contexts (pending)
  • Resizing updates the viewport and rendered rows without needing a manual call (pending)
  • A zero-height parent triggers a layoutwarning with a remediation message (pending)
  • refreshLayout() exists for edge cases and is idempotent (pending)
  • No layout thrash: at most one synchronous measure per frame (pending)