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. | 22 |
| 002 | Mark | 37 |
| 003 | Nora | 26 |
| 004 | Mary | 23 |
| 005 | Jade | 52 |
| 006 | Mike | 67 |
| 007 | Mila | 25 |
| 008 | Paige | 49 |
| 009 | Jocelyn | 24 |
| 010 | Olivia | 40 |
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