← Back
Table
Display tabular data. Uses https://github.com/react-tools/react-table under the hood to render the table.
Input:
[Table data:`[{a: 'a 1' , b: 'b 1'}, {a: 'a 1', b: 'b 1'}]` /]Output:
Props
- data
arrayThe data to be shown in a table. Should be an array of objects. Alias: data
- Example:
`[{name: "A", value: 0}, {name: "B", value: 5}]`
- Example:
- defaultPageSize
numberThe number of datapoints to be shown on a page.
- Example:
10 - Default value:
20
- Example:
- showPagination
booleanShow next and previous page buttons.
- Example:
false - Default value:
true
- Example:
- showPageSizeOptions
booleanShow options to configure page size.
- Example:
false - Default value:
false
- Example:
- showPageJump
booleanShow page jump option.
- Example:
false - Default value:
false
- Example: