Server-side pagination
Delegates paging, sorting and filtering to a backend through a data source callback that receives page parameters and returns rows plus a total count. Datasets too large for the client can then be paginated efficiently.
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
A mock server with 2,000,000 records and 150ms latency, showing page 1 of 40,000 at size 50. A request inspector panel is visible.
Expected behavior
Each navigation sends one request whose parameters are shown in the inspector. Stale responses from superseded requests are discarded. A loading overlay appears after a 200ms delay to avoid flicker.
Planned API surface
paginationMode:'server'dataSource.getPagetotalRowCountonDataRequestapi.refreshPageloadingOverlayAcceptance criteria
- The request params include pageIndex, pageSize, sortModel and filterModel (pending)
- Out-of-order responses never overwrite the newer page (pending)
- The pager uses the server-provided totalRowCount (pending)
- refreshPage re-requests the current page without changing the index (pending)
- Abort signals are passed so that superseded requests can be cancelled (pending)