我有 2 个使用 DataTable 的表:
这是他们现在的样子。
正如您所看到的,不需要在第二个表上显示表头。我想隐藏它。
我尝试在我的 CSS 上使用它:
既然班级=inventory_related
.inventory_related table thead {
display:none;
}
我也尝试把整个都脱掉:
<thead class="thin-border-bottom ">
<th>Catalog # </th>
<th>Description</th>
<th>Available Vials</th>
</thead>
这也行不通。
有人对如何隐藏第二个表头有任何建议吗?
Thanks.
就我而言,设置
.inventory_related thead {
display:none;
}
与列宽混淆,同时
.inventory_related thead {
visibility: collapse;
}
似乎正在发挥作用。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)