WarUI

PageUp/PageDown navigation

GRID-A11-F12P1baselinePlanned

PageUp and PageDown move the focus by one viewport of rows while keeping the column. Optionally, they can change the grid page when pagination is active. This gives a middle-sized jump between arrow keys and Ctrl+Home/End.

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

Live example

A 1,000-row grid, about 20 rows visible, with optional pagination of 50 per page.

Expected behavior

PageDown moves the focus down by the number of fully visible rows and scrolls so the focused row is at the same relative position. In gridPage mode with pagination, PageDown goes to the next page and keeps the column.

Planned API surface

pageKeyBehavior: 'viewport' | 'gridPage'onFocusedCellChangeonPageChange

Acceptance criteria

  • In viewport mode, the focus moves by floor(visible rows) and stops at the last row. (pending)
  • The column index is preserved. (pending)
  • In gridPage mode, PageDown triggers onPageChange and focuses the same row offset on the new page, clamped to the page length. (pending)
  • Alt+PageUp/PageDown move horizontally by one viewport of columns (documented optional feature). (pending)
  • Variable row heights are handled using the actual rendered heights. (pending)