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 |
---|---|---|---|---|---|---|---|
Schinner, Roberts and Kilback | 16204041 | Aidan_Oberbrunner71@gmail.com | Baumbach, Raynor and Jacobs Goyette - Dickinson | 1-994-264-3213 x08812 | Eswatini | 21460-0243 | |
Harris, Schulist and Zulauf | 53589582 | Lionel81@gmail.com | Conn, Hahn and Considine Dickinson - Cole | (410) 940-6295 | Serbia | 72147-6294 | |
Ullrich and Sons | 61744462 | Kiarra.Reinger30@gmail.com | Macejkovic Inc Russel LLC | 840-551-0131 x174 | Estonia | 69803-1352 | |
Sawayn, Dare and Breitenberg | 20266467 | Lowell4@yahoo.com | Hilll, Pouros and Rau Marks - Schaden | 287-647-9732 x020 | Lebanon | 97159 | |
Quigley, O'Reilly and Boyle | 93600365 | Brendon.Wuckert@gmail.com | Morar - Maggio Kovacek, Schuster and Cronin | 304.571.9127 x971 | Slovenia | 62341 | |
Quitzon - Jast | 70122589 | Issac_Jerde31@gmail.com | Kub - Cole Hackett, Hermiston and Dickinson | 650.373.3633 x0259 | Equatorial Guinea | 06707 | |
Douglas, Smith and Beer | 40788843 | Cecilia.Herzog@hotmail.com | Lueilwitz - Roob Casper - Kling | (746) 787-2062 x370 | Venezuela | 09636-8217 | |
Rohan, Bayer and Daugherty | 69757165 | Agustin92@yahoo.com | Krajcik Inc Crona, Ritchie and Nader | 714-369-0301 x175 | Bhutan | 52183 | |
Kovacek - Kuphal | 68635633 | Bo76@yahoo.com | Krajcik Group Hammes, Kovacek and Welch | 574.468.7858 x0698 | Reunion | 55817-8669 | |
Kovacek, Rolfson and Franey | 80912883 | Adonis74@yahoo.com | Marquardt Inc Schmidt, Robel and Blanda | 748-384-3964 x54461 | Liechtenstein | 92075-3009 |
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 |
---|---|---|---|---|---|---|---|
Schinner, Roberts and Kilback | 16204041 | Aidan_Oberbrunner71@gmail.com | Baumbach, Raynor and Jacobs Goyette - Dickinson | 1-994-264-3213 x08812 | Eswatini | 21460-0243 | |
Harris, Schulist and Zulauf | 53589582 | Lionel81@gmail.com | Conn, Hahn and Considine Dickinson - Cole | (410) 940-6295 | Serbia | 72147-6294 | |
Ullrich and Sons | 61744462 | Kiarra.Reinger30@gmail.com | Macejkovic Inc Russel LLC | 840-551-0131 x174 | Estonia | 69803-1352 | |
Sawayn, Dare and Breitenberg | 20266467 | Lowell4@yahoo.com | Hilll, Pouros and Rau Marks - Schaden | 287-647-9732 x020 | Lebanon | 97159 | |
Quigley, O'Reilly and Boyle | 93600365 | Brendon.Wuckert@gmail.com | Morar - Maggio Kovacek, Schuster and Cronin | 304.571.9127 x971 | Slovenia | 62341 | |
Quitzon - Jast | 70122589 | Issac_Jerde31@gmail.com | Kub - Cole Hackett, Hermiston and Dickinson | 650.373.3633 x0259 | Equatorial Guinea | 06707 | |
Douglas, Smith and Beer | 40788843 | Cecilia.Herzog@hotmail.com | Lueilwitz - Roob Casper - Kling | (746) 787-2062 x370 | Venezuela | 09636-8217 | |
Rohan, Bayer and Daugherty | 69757165 | Agustin92@yahoo.com | Krajcik Inc Crona, Ritchie and Nader | 714-369-0301 x175 | Bhutan | 52183 | |
Kovacek - Kuphal | 68635633 | Bo76@yahoo.com | Krajcik Group Hammes, Kovacek and Welch | 574.468.7858 x0698 | Reunion | 55817-8669 | |
Kovacek, Rolfson and Franey | 80912883 | Adonis74@yahoo.com | Marquardt Inc Schmidt, Robel and Blanda | 748-384-3964 x54461 | Liechtenstein | 92075-3009 |
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>