(不锁定列的话,表头不会出现滚动条)。
重现方法(打开下面网址):在firefox浏览器里,将横向滚动条拖动最右边,表头出现滚动条,如何去掉?
示例代码:http://runjs.cn/code/gekre9nb
预览:http://sandbox.runjs.cn/show/...
问题解决了。给这个div加了样式。
.dataTables_scrollHead {
border-right: 17px solid white !important;
box-sizing: border-box;
}
示例代码:http://runjs.cn/code/gekre9nb
预览:http://sandbox.runjs.cn/show/...