I have the following problem: I need to make the left border radius of a table header be round on the left side.
In principle I was going to do it by CSS telling him to apply the border radius to the first child, but it just so happens that it does not work for me since the first child is a hidden th, and I need him to apply it to the first child that is also visible. The same thing I have to do with all the tds that are not hidden. Researching a bit I have seen that in principle it is not possible only by pure CSS, and that the ideal is to resort to JQuery or JavaScript.
I would appreciate a hand, I would be worth a solution in either of them. Next I reproduce the basic structure of the HTML. As a preliminary clarification I will say that the ids are dynamic:
<table class="mTabla" id="sdsdsdsf" style="margin: 0px auto; width: 100%; text-align: left; border-collapse: collapse;" border="1" rules="all" cellspacing="0">
<tbody>
<tr>
<th style="display: none;" scope="col">#IdOculto</th>
<th style="width: 200px;" scope="col">A1</th>
<th style="width: 250px;" scope="col">A2</th>
<th style="width: 200px;" scope="col">A3</th>
</tr>
<tr id="sdsdsds" style="cursor: pointer;">
<td style="display: none;">57</td>
<td>D1</td>
<td>D1</td>
<td>D1</td>
</tr>
<tr id="sdsdsds" style="cursor: pointer;">
<td style="display: none;">58</td>
<td>D2</td>
<td>D2</td>
<td>D2</td>
</tr>
</tbody>