简体   繁体   English

在jQuery DataTables中隐藏列时的性能问题

[英]Performance issues when hiding columns in jQuery DataTables

I'm using the DataTable.column(index).visible(false) method to hide columns in my application. 我正在使用DataTable.column(index).visible(false)方法隐藏应用程序中的列。 However with a few hundred rows it takes almost 5 seconds hiding a couple of columns. 但是,只有几百行,几乎要花5秒钟才能隐藏几列。 Anyone know if it is possible to speed it up? 有人知道是否有可能加快速度吗?

也许您可以尝试将http://datatables.net/reference/option/autoWidth设置为false?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM