Skip to content

Table Component

Travis Tidwell edited this page Jul 5, 2017 · 4 revisions

JSON Schema

The JSON Schema definition for this component is defined as follows.

Core Properties

This component uses the core properties defined within the Common Parameters section.

Specific Properties

Property Description Value Required Default
numRows The number of rows for this table integer true 3
numCols The number of columns for this table integer true 3
rows A multi-dimensional array that provides the rows of the table. Within each row is another array that contains the columns of that row, and within that is the components that are contained within that cell of the table. Multi-dimensional array true [[{components: []}, {components: []}, {components: []}], [{components: []}, {components: []}, {components: []}], [{components: []}, {components: []}, {components: []}]]
header An array of strings that serve as the header for the columns of the table. Array of strings for the table header. false []
striped If the table should be striped boolean false false
bordered If the table should contain borders boolean false false
hover If the table should have a hover highlight over the rows. boolean false false
condensed If the table should be condensed boolean false false