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 |
---|---|---|---|---|---|---|---|
Wintheiser - Emmerich | 59161819 | Arnoldo45@yahoo.com | Lowe - Vandervort Waters, Zieme and Wiegand | (968) 232-8388 | Norway | 33030-4072 | |
Botsford Group | 32037730 | Dorcas_Block88@yahoo.com | Douglas - Gutmann Becker - Balistreri | 1-603-616-1697 x3883 | Cambodia | 76120 | |
Keeling and Sons | 81109504 | Albert_Corwin@yahoo.com | Simonis - Cormier Runolfsdottir and Sons | 599-993-3561 x693 | Grenada | 31218 | |
Dickens, Kulas and Denesik | 59449401 | Sigrid_Lakin@gmail.com | Schmitt - Miller VonRueden LLC | 586.882.7497 x6929 | Bolivia | 89816-0396 | |
Waters Inc | 39677234 | Jayce_Schuster21@gmail.com | Grimes, Yundt and Kling Spencer Inc | (878) 595-8829 | Vietnam | 05839-3092 | |
Zemlak Inc | 49072447 | Darren.Kihn@gmail.com | Altenwerth Inc Ondricka Inc | 1-961-792-4143 | Bangladesh | 49086 | |
Schaefer, Weissnat and Hermann | 29021754 | Kavon_Blanda@yahoo.com | Swift, Kilback and Streich Bauch Inc | 481.641.6117 | Slovenia | 66982 | |
Pagac, White and Gerlach | 31915726 | Toni66@yahoo.com | Batz - Sawayn Lueilwitz Group | (692) 741-3099 | Venezuela | 79822 | |
Tremblay LLC | 91689779 | Caesar.Fisher94@gmail.com | Davis and Sons Breitenberg - Feil | 1-916-450-1556 | Turkmenistan | 34505 | |
Schmitt - Thompson | 38562529 | Beulah.Lakin89@yahoo.com | Trantow - Schimmel Doyle - Lebsack | 850-856-9686 x6463 | Martinique | 88330-1579 |
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 |
---|---|---|---|---|---|---|---|
Wintheiser - Emmerich | 59161819 | Arnoldo45@yahoo.com | Lowe - Vandervort Waters, Zieme and Wiegand | (968) 232-8388 | Norway | 33030-4072 | |
Botsford Group | 32037730 | Dorcas_Block88@yahoo.com | Douglas - Gutmann Becker - Balistreri | 1-603-616-1697 x3883 | Cambodia | 76120 | |
Keeling and Sons | 81109504 | Albert_Corwin@yahoo.com | Simonis - Cormier Runolfsdottir and Sons | 599-993-3561 x693 | Grenada | 31218 | |
Dickens, Kulas and Denesik | 59449401 | Sigrid_Lakin@gmail.com | Schmitt - Miller VonRueden LLC | 586.882.7497 x6929 | Bolivia | 89816-0396 | |
Waters Inc | 39677234 | Jayce_Schuster21@gmail.com | Grimes, Yundt and Kling Spencer Inc | (878) 595-8829 | Vietnam | 05839-3092 | |
Zemlak Inc | 49072447 | Darren.Kihn@gmail.com | Altenwerth Inc Ondricka Inc | 1-961-792-4143 | Bangladesh | 49086 | |
Schaefer, Weissnat and Hermann | 29021754 | Kavon_Blanda@yahoo.com | Swift, Kilback and Streich Bauch Inc | 481.641.6117 | Slovenia | 66982 | |
Pagac, White and Gerlach | 31915726 | Toni66@yahoo.com | Batz - Sawayn Lueilwitz Group | (692) 741-3099 | Venezuela | 79822 | |
Tremblay LLC | 91689779 | Caesar.Fisher94@gmail.com | Davis and Sons Breitenberg - Feil | 1-916-450-1556 | Turkmenistan | 34505 | |
Schmitt - Thompson | 38562529 | Beulah.Lakin89@yahoo.com | Trantow - Schimmel Doyle - Lebsack | 850-856-9686 x6463 | Martinique | 88330-1579 |
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>