For yer interest, please find below a screenshot and the related code.
<$vars rowCount={{{ [[4]]}}}
colCount={{{ [[5]] }}}>
<table>
<tr>
<th>
</th>
<$list filter="[range<colCount>]">
<th style="padding:0px;border:1px solid black;">
<div style="resize:horizontal;overflow:auto; min-width:1em; min-height:2em;text-align:center;">
{{!!title}}
</div>
</th>
</$list>
</tr>
<$list filter="[range<rowCount>]">
<$vars currentRow=<<currentTiddler>>>
<tr style="border:1px solid black;">
<th style="padding:0px;border:1px solid black;">
<div style="resize:vertical;overflow:auto;min-width:2em; min-height:1em;text-align:center;">
<<currentRow>>
</div>
</th>
<$list filter="[range<colCount>]">
<$vars currentCol=<<currentTiddler>>>
<td style="border:1px solid blue;min-height:1em;padding:1px;">
<div style="width:100%; height:100%;overflow:auto;">
<<currentCol>>
</div>
</td>
</$vars>
</$list>
</tr>
</$vars>
</$list>
</table>
</$vars>