首页 > 解决方案 > Remove scroll bar for 100% zoom

问题描述

I want to display a complete data table but because the columns are pretty large in amount and the table is set to non-responsive. if I zoom to 80% all table content is clearly visible to me without a horizontal scroll bar but if I reset to 100% few of my columns are not visible until I scroll to right. what can I do in this case?

enter image description here

标签: htmlcssdatatables

解决方案


在您创建表格的 HTML 中,将宽度设置为 100%。

<table id="my-table" class="some-class" style="width: 100%;">
</table>

推荐阅读