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. | 31 |
002 | Kurt | 70 |
003 | Karl | 76 |
004 | Katie | 77 |
005 | Mary | 50 |
006 | Mark | 66 |
007 | Mary | 60 |
008 | Mason | 29 |
009 | Kane | 73 |
010 | Paige | 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