bosskmk / pluto_grid

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.
https://pluto.weblaze.dev
MIT License
664 stars 305 forks source link

[Feature] Index based PlutoLazyPagination #911

Closed lublak closed 1 year ago

lublak commented 1 year ago

Currently the paignation is offset based (page number * pagesize). https://use-the-index-luke.com/sql/partial-results/fetch-next-page

It would be usefull to have three more options:

We need a PlutoLazyIndexPagination. It needs 3 fetches.

  1. get the first index of the first page.
  2. get the the last index of the last page.
  3. fetch the page
lublak commented 1 year ago

i think it needs more because _isLastPage needs a different check

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.