- type: Array
The data to be displayed in the table. Stored as an array of objects.
- type: Array
The fields (columns) to be displayed in the table. Can be stored as an array of
strings or an array of Field objects.
- type: String | Array
Determines the default sorting order of the table. Can be stored as a single
field or an array of fields.
- type: String
The name of the key to pull the data for this field.
- type: String | Element
The string to use as the title for the column. Can be provided as a string or React element.
- type: String
Additional css classes to be applied to the title.
- type: String
Additional css classes to be applied to the field.
- type: String | Array
If specified the column becomes sortable using the provided values. If an array
is provided it will sort using all provided fields.
- type: Number
If specified this value will override the default flex-flow value of 1.
- type: Function
A function that acts as a callback to format the field data.
- type: Element
A React element to display instead of the data. If used it is provided the
current row and field as props to use within the custom element.