Tables You can quickly style tables by using our table helper classes.

Theming

Tables headers inherit the template secondary color scheme .ui-state-default.

Headers alignments

By default the header texts in tables are centered. To align them either left or right you need to use one of the following core helper class: text-left or text-right

Normal tables

To create a basic table you need to use the HTML structure below with the .table class.

Header 1 Header 2 Header 3 Header 4
row 1, cell 1 row 1, cell 2 row 1, cell 3 row 1, cell 4
row 2, cell 1 row 2, cell 2 row 2, cell 3 row 2, cell 4
footer

Condensed tables

Beside the HTML structure and the .table class from the normal tables, to create consensed tabled you need to add the .table-condensed class.

Header 1 Header 2 Header 3 Header 4
row 1, cell 1 row 1, cell 2 row 1, cell 3 row 1, cell 4
row 2, cell 1 row 2, cell 2 row 2, cell 3 row 2, cell 4
footer

Hover tables

You can create hover tables by adding the .table-hover class to your tables. These tables highlight the hovered row with a light yellow color.

Header 1 Header 2 Header 3 Header 4
row 1, cell 1 row 1, cell 2 row 1, cell 3 row 1, cell 4
row 2, cell 1 row 2, cell 2 row 2, cell 3 row 2, cell 4
footer

Striped tables

Striped tables can by created by add the .table-striped class to your tables. These kind of tables have the odd row have a light gray color to make it easy to differentiate between rows.

Header 1 Header 2 Header 3 Header 4
row 1, cell 1 row 1, cell 2 row 1, cell 3 row 1, cell 4
row 2, cell 1 row 2, cell 2 row 2, cell 3 row 2, cell 4
row 1, cell 1 row 1, cell 2 row 1, cell 3 row 1, cell 4
row 2, cell 1 row 2, cell 2 row 2, cell 3 row 2, cell 4
row 2, cell 1 row 2, cell 2 row 2, cell 3 row 2, cell 4
footer

Rounded tables

Rounded tables can by created by add the .table-rounded class to your tables. These kind of tables inherit the border radius from the selected template style.

Header 1 Header 2 Header 3 Header 4
row 1, cell 1 row 1, cell 2 row 1, cell 3 row 1, cell 4
row 2, cell 1 row 2, cell 2 row 2, cell 3 row 2, cell 4

Responsive tables

Responsive tables change their width and arangement based on the screen size.

TODO