我想在表中设置子行可折叠。可以使用引导collapse。但是,由于tablesorter在style="display: table-row"的某处添加了内容,因此它不起作用,因此始终可见。我在哪里可以删除此CSS样式? 最佳答案 像这样定义一个CSS类.invisible-table tr { display: none !important; } 然后只需根据需要将invisible-table类添加/删除到tablesorter中。