Proof of Concept
Sometimes your table data is complex and doesn't fit on a mobile screen, so break the table.
There are a number of different approaches and techniques to responsive data tables (ex: CSS-Tricks article), but in working with very complex and intricate designs I've thrown my hat in the game and came of with another alternative.
- do not allow
<colgroup>
- add
rowspan
logic - add scope=
rowgroup
&&colgroup
logic
- first column in
<thead>
must bescope=row
- Scope is only added to elements
data-breaktables="popup|integer"
data-btcolumns="integer"
data-btclass="broken-table|string"
data-btidentifier="bt-[index]|inherit|string"
data-btid="integer"