Some content on this page is not responsive yet and may not display correctly on mobile devices.
| # | Name | Age |
|---|
| 001 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec diam nec nisl aliquam ultric es. | 50 |
| 002 | Lara | 32 |
| 003 | Ophelia | 38 |
| 004 | Ozzy | 65 |
| 005 | Noah | 45 |
| 006 | Jane | 58 |
| 007 | Penny | 37 |
| 008 | Jane | 61 |
| 009 | Oz | 62 |
| 010 | Landon | 61 |
Code
import * as G from '.../components';
<G.Table
height={300}
columns={[
{ key: 'id', label: '#' },
{ key: 'name', label: 'Name' },
{ key: 'age', label: 'Age' },
]}
rows={[
{ id: '0001', name: 'John', age: 20 },
{ id: '0002', name: 'Jane', age: 21 },
{ id: '0003', name: 'Joe', age: 22 },
...
]}
/>
<G.PagedTable
columns=...
rows=...
/>
Properties
This component extends the
Base Component and supports all of its properties.
- height - Number
- columns - Array
- rows - Array
- card - true | false