WarUI

Configurable page size selector

GRID-A19-F02P0baselinePlanned

Adds a dropdown to the pager so users can choose how many rows each page shows from a configurable list of options. When the size changes, the grid keeps the first visible row in view instead of jumping back to page 1.

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

Live example

Pagination is enabled, the selector offers 10/25/50/100, and the current size is 25 while viewing page 3.

Expected behavior

Choosing 100 while row 51 is the first visible row lands on page 1, which contains row 51. With anchor preservation off, the grid returns to page 1. The event log shows the old and new sizes.

Planned API surface

paginationPageSizeOptionspaginationPageSizeSelectorpaginationPageSizeonPageSizeChange

Acceptance criteria

  • The selector lists exactly the configured options in the given order (pending)
  • Changing the size fires onPageSizeChange once with the old and new values (pending)
  • When anchor preservation is on, the new page contains the previously first visible row (pending)
  • An initial paginationPageSize missing from the options list is inserted and sorted into the list (pending)