最佳答案
我觉得你的代码是这样的
<th><b>#</b> <i class="fa fa-fw fa-sort"></i></th>
然后您可以使用 css 禁用任何像这样的列(例如:-第一列)
th:nth-child(1) .fa-sort{
display:none;
}
关于html - 如何禁用特定表列中的类?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44993372/