How to hide table rows without resizing overall width?

后端 未结 5 1310
粉色の甜心
粉色の甜心 2020-12-19 06:33

Is there a way to hide table rows without affecting the overall table width? I\'ve got some javascript that shows/hides some table rows, but when the rows are set to d

5条回答
  •  时光说笑
    2020-12-19 06:48

    For reference, levik's solution works perfectly. In my case, using jQuery, the solution looked something like this:

    $('#tableId').width($('#tableId').width());
    

提交回复
热议问题