You simply need to attach a single .table
CSS class on a <table>
with the following structure:
-
table
the main container-
thead
the optional top part of the table -
tfoot
the optional bottom part of the table -
tbody
the main content of the table-
tr
each table row-
th
a table cell heading -
td
a table cell
-
-
-
You can set a table row as selected by appending the is-selected
modifier on a <tr>