iTwin / iTwinUI-react

A react component library for iTwinUI.
https://github.com/iTwin/iTwinUI
Other
83 stars 23 forks source link

Table: Pagination & Manual Handling of Paginator State #159

Closed lumiio closed 2 years ago

lumiio commented 3 years ago

Feature

Add pagination to table. Also the ability to manually manipulate the state of the paginator.

Examples

As discussed in teams, very large datasets can crash a page without pagination.

There was a manual mode in v6 react table that let you pass in total page count, current page number and whatever segment of your full dataset you needed to have displayed. On large data sets that were stored in state, only a portion of the data would be passed into the table at one time otherwise the page crashes/lags. At least this was how the v6 table worked, I don't know if this is applicable to v7 or not.

mayank99 commented 2 years ago

This feature was just released in iTwinUI-react v1.22.0 🎉 https://itwin.github.io/iTwinUI-react/?path=/story/core-table--with-paginator