|
5 | 5 |
|
6 | 6 | ## Properties
|
7 | 7 |
|
8 |
| -| Property | Attribute | Description | Type | Default | |
9 |
| -| ---------------- | ----------------- | -------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ----------- | |
10 |
| -| `fields` | `fields` | Input fields config array | `any` | `undefined` | |
11 |
| -| `freezeHeader` | `freeze-header` | (optional) Freeze header row from scrolling | `boolean` | `false` | |
12 |
| -| `heading` | `heading` | (optional) Heading string | `string` | `''` | |
13 |
| -| `height` | `height` | (optional) Set static table height, by default will auto-resize | `string` | `undefined` | |
14 |
| -| `hideBorder` | `hide-border` | (optional) Set to true to remove border | `boolean` | `false` | |
15 |
| -| `hideHeader` | `hide-header` | (optional) Set to true to hide header row | `boolean` | `false` | |
16 |
| -| `hideInfo` | `hide-info` | (optional) Set to true to remove info footer block including pagination and selection status | `boolean` | `false` | |
17 |
| -| `hideMenu` | `hide-menu` | (optional) Set to true to hide settings menu | `boolean` | `false` | |
18 |
| -| `localization` | -- | (optional) set localization for sort, toggle and select/deselect table Default is English. | `{ sortBy: string; toggle: string; select: string; }` | `undefined` | |
19 |
| -| `numbered` | `numbered` | (optional) Set to true to add numbers column | `boolean` | `false` | |
20 |
| -| `pageSize` | `page-size` | (optional) Set number of rows to display per pagination page | `number` | `Infinity` | |
21 |
| -| `rows` | `rows` | Input data array | `any` | `undefined` | |
22 |
| -| `selectable` | `selectable` | (optional) Set to true to add selection column | `boolean` | `false` | |
23 |
| -| `selection` | -- | Read-only selection array - populated with raw data from selected rows | `string[]` | `[]` | |
24 |
| -| `shadeAlternate` | `shade-alternate` | (optional) Shade every second row darker | `boolean` | `true` | |
25 |
| -| `styles` | `styles` | (optional) Injected css styles | `any` | `undefined` | |
26 |
| -| `visible` | `visible` | (optional) Set to false to hide table, used for nested tables to re-render upon toggle | `boolean` | `true` | |
| 8 | +| Property | Attribute | Description | Type | Default | |
| 9 | +| --------------------- | ----------------------- | -------------------------------------------------------------------------------------------- | ----------------------------------------------------- | --------------------------- | |
| 10 | +| `fields` | `fields` | Input fields config array | `any` | `undefined` | |
| 11 | +| `freezeHeader` | `freeze-header` | (optional) Freeze header row from scrolling | `boolean` | `false` | |
| 12 | +| `heading` | `heading` | (optional) Heading string | `string` | `''` | |
| 13 | +| `height` | `height` | (optional) Set static table height, by default will auto-resize | `string` | `undefined` | |
| 14 | +| `hideBorder` | `hide-border` | (optional) Set to true to remove border | `boolean` | `false` | |
| 15 | +| `hideHeader` | `hide-header` | (optional) Set to true to hide header row | `boolean` | `false` | |
| 16 | +| `hideInfo` | `hide-info` | (optional) Set to true to remove info footer block including pagination and selection status | `boolean` | `false` | |
| 17 | +| `hideMenu` | `hide-menu` | (optional) Set to true to hide settings menu | `boolean` | `false` | |
| 18 | +| `localization` | -- | (optional) set localization for sort, toggle and select/deselect table Default is English. | `{ sortBy: string; toggle: string; select: string; }` | `undefined` | |
| 19 | +| `numbered` | `numbered` | (optional) Set to true to add numbers column | `boolean` | `false` | |
| 20 | +| `pageSize` | `page-size` | (optional) Set number of rows to display per pagination page | `number` | `Infinity` | |
| 21 | +| `rows` | `rows` | Input data array | `any` | `undefined` | |
| 22 | +| `selectable` | `selectable` | (optional) Set to true to add selection column | `boolean` | `false` | |
| 23 | +| `selection` | -- | Read-only selection array - populated with raw data from selected rows | `string[]` | `[]` | |
| 24 | +| `shadeAlternate` | `shade-alternate` | (optional) Shade every second row darker | `boolean` | `true` | |
| 25 | +| `sortableColumnTitle` | `sortable-column-title` | (optional) Title for sortable columns | `string` | `'Activate to sort column'` | |
| 26 | +| `styles` | `styles` | (optional) Injected css styles | `any` | `undefined` | |
| 27 | +| `visible` | `visible` | (optional) Set to false to hide table, used for nested tables to re-render upon toggle | `boolean` | `true` | |
27 | 28 |
|
28 | 29 |
|
29 | 30 | ## Events
|
|
0 commit comments