I am creating a conventional table, which when clicked on the group name it shows a sub-table containing the same columns and refactoring the results:
NORMAL STATUS:
GRUPOS QUANTIDADE
| GA | | 1000 |
| GB | | 1600 |
WHEN CLICKED ON GROUP TITLE:
GRUPOS QUANTIDADE
| GA | | 1000 |
| CLI01 | | 500 |
| CLI02 | | 500 |
| GB | | 1600 |
| CLI01 | | 800 |
| CLI02 | | 800 |
FROM A TABLE STRUCTURE BELOW, WHAT IS NECESSARY TO APPLY TO REACH SUB TABLES AND THAT THEY HAVE THIS 'SHOW / HIDE' EFFECT?
<table class="table table-striped">
<thead>
<tr>
<th>GRUPOS</th>
<th>QUANTIDADE</th>
</tr>
</thead>
<tbody>
<tr>
<td>GA</td>
<td>1000</td>
</tr>
<tr>
<td>GB</td>
<td>1600</td>
</tr>
</tbody>
</table>