mates-grid docs

mates-grid

Pagination

Turn on pagination in the atom init (or grid.config). Page size, current page, and the selector are first-class atoms so a parent toolbar can drive them.

Page size selector

The footer is the grid chrome. This toolbar writes the same page / pageSize atoms.

1 to 10 of 48

page 1 / 5 · size 10

gridAtom({
  pagination: true,
  paginationPageSize: 10,
  paginationPageSizeSelector: [10, 20, 40],
});

grid.page.set(2);