This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Description
Hi, and thanks for your great work on tablesaw :)
Is it possible to get the table to behave correctly when using colspans? Here is an example:
<table data-tablesaw-mode="columntoggle">
<thead>
<tr>
<th data-tablesaw-priority="persist">Name</th>
<th data-tablesaw-priority="1">Budget</th>
<th data-tablesaw-priority="2">Actual</th>
<th data-tablesaw-priority="persist">Total</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="3">Total</td>
<td>150</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>Some name</td>
<td>10</td>
<td>30</td>
<td>120</td>
</tr>
<tr>
<td>Some other name</td>
<td>20</td>
<td>15</td>
<td>30</td>
</tr>
</tbody>
</table>
What will happen when I toggle one of the columns off, is that colspan will still occupy three cells, even though it "should" only take two.
I'm aware that it is a bit complex – because which colspan should you take one cell from in case there were several cells with colspans?
Well, just wanted to ask if this is something you have solved before?