Good morning to everybody. Using HTML, Bootstrap 5 and CSS I am creating a table which contains details of various articles. An article can have one or more variants, which in the context of the table are represented by a new row for each variant, placed below the row of the parent item. Is it possible to ensure that the variant lines are created inside the tr tag of the parent article, rather than in a totally separate tr tag, or that they are in any case interpreted as being part of the line of the parent article? This need arises from having to integrate this table with the jquery table sorter plugin, which should sort according to the details of the articles, not taking into account those of the variants.
I tried with the following code, but in doing so, variants rows appears before table.
<tbody>
<tr style="text-align: center; background: rgba(252,212,212,0.63);">
<td class="text-center" style="font-weight: bold;">AAA</td>
<td class="text-center">T1</td>
<td class="text-center">300 cm</td>
<td class="text-center">60% poliestere, 40% viscosa</td>
<td class="text-center">Tenda piombata</td>
<td class="text-center">50 € (25+ mtl)<br /></td>
<td class="text-center">75 €<br /></td>
</tr>
<tr style="text-align: center; background: rgba(252,212,212,0.63);">
<td class="text-center" style="font-weight: bold;">AAA</td>
<td class="text-center">T1</td>
<td class="text-center">300 cm</td>
<td class="text-center">60% poliestere, 40% viscosa</td>
<td class="text-center">Tenda piombata</td>
<td class="text-center">50 € (25+ mtl)<br /></td>
<td class="text-center">75 €<br /></td>
<div class="row" style="background: rgb(200 197 255 / 63%)">
<div class="text-center col-2">2649</div>
<div class="text-center col-1">//</div>
<div class="text-center col-1">//</div>
<div class="text-center col-3">//</div>
<div class="text-center col-3">//</div>
<div class="text-center col-1">//</div>
<div class="text-center col-1">//</div>
</div>
</tr>
</tbody>
EDIT: I need also a method to implement span behavior in sub row