The grid (core) ยท console.warn
pagination is not available on a "{mode}" so...
Printed by The grid (core), prefixed [lattice], since 1.80.0.
Warnings reference › pagination:source-unsupported
- Identifier
pagination:source-unsupported- Raised by
- The grid (core)
- Since
- 1.80.0
What happened
Pagination was asked for - pagination in the config, or grid.pagination.set() with a page or a page size - on a source that has no page model: a stream source, or a custom source with no pageInfo(). Nothing could be windowed, so the request was refused rather than recorded: the grid keeps scrolling through every row, pagination.get() keeps reporting one page, and no pager is drawn, so there is no control that moves nothing. Memory, derived, paged and remote sources all page.
The fix
Drop pagination for this source, or use a source that pages: memory slices the rows it holds, and paged or remote fetch each page as a window from the server.
The smallest fix
source: { mode: 'paged', pageSize: 250, fetch },
pagination: { enabled: true, pageSize: 250 }
Reference
Covered in full at the API reference.