Interface TableStyleOptions
Configuration options that define functional style of the various elements of the Table Component
Properties
columns
columns?:
object
Columns options
Type declaration
columns.alternatingColoralternatingColor?:
TableColorOptionsAlternating color for columns
columns.widthwidth?:
"auto"|"content"Modes of columns width 'auto' - all columns will have the same width and fit the table width (no horizontal scroll) 'content' - columns width will be based on content (default option)
header
header?:
object
Header options
Type declaration
header.colorcolor?:
TableColorOptionsColor of header
height
height?:
number
Total height of the component, which is considered in the following order of priority:
- Value passed to this property (in pixels).
- Height of the container wrapping this component
- Default value of 500px (for component without header) or 525px (for component with header).
paddingHorizontal
paddingHorizontal?:
number
Horizontal padding around whole table Default value is 20px
paddingVertical
paddingVertical?:
number
Vertical padding around whole table Default value is 20px
rows
rows?:
object
Rows options
Type declaration
rows.alternatingColoralternatingColor?:
TableColorOptionsAlternating color for rows
rowsPerPage
rowsPerPage?:
number
Number of rows per page
Default value is 25
width
width?:
number
Total width of the component, which is considered in the following order of priority:
- Value passed to this property (in pixels)
- Width of the container wrapping this component
- Default value of 400px