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. | 66 |
| 002 | Peter | 30 |
| 003 | Jill | 20 |
| 004 | Mary | 44 |
| 005 | Kurt | 78 |
| 006 | Kathy | 65 |
| 007 | Nyla | 50 |
| 008 | Jack | 77 |
| 009 | Oscar | 23 |
| 010 | Oscar | 45 |
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