Pinned top and bottom rows
Specific rows such as totals or a reference row can be pinned above or below the scrolling body. These rows scroll horizontally with the body but not vertically. They are excluded from body virtualization and rendered in fixed panes.
Planned. This page shows the specification from issue #183. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
100,000 rows, one pinned top row ('Benchmark') and one pinned bottom row ('Totals'), with left-pinned columns active.
Expected behavior
Pinned rows stay fixed vertically, scroll horizontally in sync, and intersect correctly with pinned columns, forming corner cells. The body viewport height shrinks by the pinned row heights.
Planned API surface
pinnedTopRowspinnedBottomRowssetPinnedRows(side, rows)getRowHeightAcceptance criteria
- Pinned rows are excluded from the body's rowCount and aria counting is documented explicitly. (pending)
- Corner cells (pinned row by pinned column) are rendered and do not scroll in either direction. (pending)
- The body's visible height equals the container height minus the header and pinned rows heights. (pending)
- Updating pinned row data rerenders only the pinned panes. (pending)