Paginated table
Live demo
PaginatedTable
I am an info banner
Registered business name | Account ID | Contact Email | Business display name | Telephone number | Country | Postal code | Actions |
---|---|---|---|---|---|---|---|
Thiel, Cartwright and Cormier | 93415116 | Joy_Dach@gmail.com | Steuber - Corkery Christiansen LLC | 568-892-6953 x520 | South Africa | 53478-3643 | |
Abshire - Champlin | 25308920 | Jessie70@yahoo.com | Kiehn - Quitzon Shanahan, Nicolas and Rosenbaum | (722) 592-9663 x8279 | Eritrea | 22975-3103 | |
Kulas - Koss | 11779589 | Bridgette_Langworth@hotmail.com | Braun LLC Friesen LLC | (410) 816-5178 x50104 | Aruba | 06423 | |
Nicolas LLC | 70487800 | Jeffery35@hotmail.com | Powlowski, Jacobson and Glover Durgan Group | (824) 303-2942 x810 | Estonia | 54736-7588 | |
Kulas - Huel | 82906006 | Libbie49@hotmail.com | Funk - Lesch Mante, Cummerata and Johnston | (442) 890-9428 x1167 | Saint Pierre and Miquelon | 42537-0699 | |
Schmidt and Sons | 57550921 | Sophia22@hotmail.com | Labadie - Collins Monahan - Kulas | 564.261.9545 x0423 | France | 26441 | |
Schumm, Stoltenberg and Jacobi | 55588231 | Yadira_Marquardt-Ullrich@hotmail.com | Gleason, Treutel and Pagac Wiza Group | 515-851-5607 x7114 | Djibouti | 16360 | |
Langosh, Lueilwitz and Wisozk | 69844072 | Christy.Reichel34@hotmail.com | Rodriguez Group Hegmann and Sons | 910.270.5729 x3564 | Timor-Leste | 18189-6021 | |
Becker - Osinski | 03392998 | Nels_Smith12@hotmail.com | Feest, Kerluke and Kshlerin McClure - Aufderhar | (329) 449-9479 x08868 | Benin | 52090 | |
Wiza, Mante and Stanton | 65614144 | Dillan35@hotmail.com | Douglas Inc Koss Inc | (974) 787-0392 | Tajikistan | 65081 |
Viewing {total,select,0{{current} of {total}}1{{current} of {total}}other{1-{current} of {total}}}
PaginatedTable with 2 pinned columns
I am an alert banner
Registered business name | Account ID | Contact Email | Business display name | Telephone number | Country | Postal code | Actions |
---|---|---|---|---|---|---|---|
Thiel, Cartwright and Cormier | 93415116 | Joy_Dach@gmail.com | Steuber - Corkery Christiansen LLC | 568-892-6953 x520 | South Africa | 53478-3643 | |
Abshire - Champlin | 25308920 | Jessie70@yahoo.com | Kiehn - Quitzon Shanahan, Nicolas and Rosenbaum | (722) 592-9663 x8279 | Eritrea | 22975-3103 | |
Kulas - Koss | 11779589 | Bridgette_Langworth@hotmail.com | Braun LLC Friesen LLC | (410) 816-5178 x50104 | Aruba | 06423 | |
Nicolas LLC | 70487800 | Jeffery35@hotmail.com | Powlowski, Jacobson and Glover Durgan Group | (824) 303-2942 x810 | Estonia | 54736-7588 | |
Kulas - Huel | 82906006 | Libbie49@hotmail.com | Funk - Lesch Mante, Cummerata and Johnston | (442) 890-9428 x1167 | Saint Pierre and Miquelon | 42537-0699 | |
Schmidt and Sons | 57550921 | Sophia22@hotmail.com | Labadie - Collins Monahan - Kulas | 564.261.9545 x0423 | France | 26441 | |
Schumm, Stoltenberg and Jacobi | 55588231 | Yadira_Marquardt-Ullrich@hotmail.com | Gleason, Treutel and Pagac Wiza Group | 515-851-5607 x7114 | Djibouti | 16360 | |
Langosh, Lueilwitz and Wisozk | 69844072 | Christy.Reichel34@hotmail.com | Rodriguez Group Hegmann and Sons | 910.270.5729 x3564 | Timor-Leste | 18189-6021 | |
Becker - Osinski | 03392998 | Nels_Smith12@hotmail.com | Feest, Kerluke and Kshlerin McClure - Aufderhar | (329) 449-9479 x08868 | Benin | 52090 | |
Wiza, Mante and Stanton | 65614144 | Dillan35@hotmail.com | Douglas Inc Koss Inc | (974) 787-0392 | Tajikistan | 65081 |
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 variant="info"> <Text>I am a banner</Text> </PaginatedTable.Banner> } > <PaginatedTable.OffsetPagination {...pagination}> {values.from} - {values.to} of {values.total} </PaginatedTable.OffsetPagination> </Paginated>