For the Table class in user guide, it mention how to generate a table with multiple columns/rows. But I want to ask how can we generate a table that contain multiple sub-table, example as below:
<table>
<tr>
<td>
<table>
<tr>
<td>sub-table-01</td>
</tr>
</table>
</td>
<td>
<table>
<tr>
<td>sub-table-02</td>
</tr>
</table>
</td>
<td>
<table>
<tr>
<td>sub-table-n</td>
</tr>
</table>
</td>
</tr>
</table>
Could anyone suggest the snippet for this function?
Thanks
You can nest the calls to
generate(). Example:You’ll have to replace this with your own data in a way that makes sense of course, but hopefully this gives you the idea.