表格中表头thead固定,tbody增加滚动条解决

1、表头固定问题处理方式: 一般可以clone出thead,然后fixed固定于顶部;二就是表格内部tbody滚动,thead固定 对应第二种方式:有两种办法,其一table固定高,加滚动条,thead随着表格滚动translateY(...) window.onload = function(){         $('#table-cont').on('scroll', function sc
相关文章
相关标签/搜索