Paginated table
Live demo
PaginatedTable
I am a banner
Registered business name | Account ID | Contact Email | Business display name | Telephone number | Country | Postal code | Actions |
---|---|---|---|---|---|---|---|
Sporer LLC | 00542048 | Halle.Cummerata15@hotmail.com | Rutherford, Braun and Armstrong Littel, Hessel and Dooley | 612.572.4527 | Namibia | 27278-8708 | |
Witting and Sons | 36831536 | Humberto.Batz@hotmail.com | Doyle - Hansen DuBuque, Ruecker and Kemmer | 987-649-5263 | Tanzania | 85499 | |
Denesik Inc | 69356354 | Asha46@yahoo.com | Pollich and Sons Stokes - Adams | (251) 333-1938 | Seychelles | 11212 | |
Lakin and Sons | 73163236 | Jessie36@gmail.com | Jacobs, Hayes and Wisozk Hane, Wuckert and Stracke | (772) 585-1135 | Wallis and Futuna | 27642-5022 | |
Mertz - Kessler | 85268272 | Gregoria47@yahoo.com | Block and Sons Jast Group | 1-741-235-4259 | Madagascar | 37584 | |
Frami LLC | 49291621 | Ellsworth_Abshire45@yahoo.com | Ledner, Kassulke and Gibson Hand Inc | (778) 467-5758 x07744 | Grenada | 34918 | |
Bartell LLC | 69929214 | Cicero71@gmail.com | Rodriguez, Parker and Zboncak Mann, Wunsch and Ferry | (547) 967-2962 x9072 | Turkey | 38917 | |
Mayer, Fritsch and Kiehn | 71508402 | Flo_Bins-Huel@gmail.com | VonRueden - Lindgren Bernhard - Conroy | 785-462-8881 x02176 | Haiti | 31330 | |
Morar, Roob and Kozey | 41081143 | Leo.Pacocha52@gmail.com | Flatley - McDermott Carroll, Satterfield and Bahringer | (882) 776-2512 | Turks and Caicos Islands | 09520 | |
Olson - Friesen | 76896157 | Alta30@hotmail.com | O'Kon LLC Rice LLC | (613) 607-2492 | Albania | 80831-3446 |
Viewing {total,select,0{{current} of {total}}1{{current} of {total}}other{1-{current} of {total}}}
PaginatedTable with 2 pinned columns
I am a banner
Registered business name | Account ID | Contact Email | Business display name | Telephone number | Country | Postal code | Actions |
---|---|---|---|---|---|---|---|
Sporer LLC | 00542048 | Halle.Cummerata15@hotmail.com | Rutherford, Braun and Armstrong Littel, Hessel and Dooley | 612.572.4527 | Namibia | 27278-8708 | |
Witting and Sons | 36831536 | Humberto.Batz@hotmail.com | Doyle - Hansen DuBuque, Ruecker and Kemmer | 987-649-5263 | Tanzania | 85499 | |
Denesik Inc | 69356354 | Asha46@yahoo.com | Pollich and Sons Stokes - Adams | (251) 333-1938 | Seychelles | 11212 | |
Lakin and Sons | 73163236 | Jessie36@gmail.com | Jacobs, Hayes and Wisozk Hane, Wuckert and Stracke | (772) 585-1135 | Wallis and Futuna | 27642-5022 | |
Mertz - Kessler | 85268272 | Gregoria47@yahoo.com | Block and Sons Jast Group | 1-741-235-4259 | Madagascar | 37584 | |
Frami LLC | 49291621 | Ellsworth_Abshire45@yahoo.com | Ledner, Kassulke and Gibson Hand Inc | (778) 467-5758 x07744 | Grenada | 34918 | |
Bartell LLC | 69929214 | Cicero71@gmail.com | Rodriguez, Parker and Zboncak Mann, Wunsch and Ferry | (547) 967-2962 x9072 | Turkey | 38917 | |
Mayer, Fritsch and Kiehn | 71508402 | Flo_Bins-Huel@gmail.com | VonRueden - Lindgren Bernhard - Conroy | 785-462-8881 x02176 | Haiti | 31330 | |
Morar, Roob and Kozey | 41081143 | Leo.Pacocha52@gmail.com | Flatley - McDermott Carroll, Satterfield and Bahringer | (882) 776-2512 | Turks and Caicos Islands | 09520 | |
Olson - Friesen | 76896157 | Alta30@hotmail.com | O'Kon LLC Rice LLC | (613) 607-2492 | Albania | 80831-3446 |
Viewing {total,select,0{{current} of {total}}1{{current} of {total}}other{1-{current} of {total}}}
Code
Paginated Table
import { PaginatedTable } from './paginated-table'; const values = Table.OffsetPagination.paginationToResultValues( pagination, window.navigator.language, ); <PaginatedTable caption="Table caption" rows={rows} columns={columns} fallbackMessage="Fallback message" > <PaginatedTable.OffsetPagination {...pagination}> {values.from} - {values.to} of {values.total} </PaginatedTable.OffsetPagination> </PaginatedTable>;
Paginated table with variant option in the table cells
import{ PaginatedTable } from './paginated-table'; const columns: Columns = [ { headerName: 'Registered business name', field: 'companyName', cellTextVariant: 'captionMedium150', }, { headerName: 'Business display name', field: 'displayName', cellTextVariant: 'captionMedium150', }, { headerName: 'Contact Email', field: 'emailAddress', cellTextVariant: 'captionMedium150', }, ]; <PaginatedTable caption="Table caption" rows={rows} columns={columns} fallbackMessage="Fallback message" banner={ <PaginatedTable.Banner> <Text>I am a banner</Text> </PaginatedTable.Banner> } > <PaginatedTable.OffsetPagination {...pagination}> {values.from} - {values.to} of {values.total} </PaginatedTable.OffsetPagination> </Paginated>