Performance issues when hiding columns in jQuery DataTables

瘦欲@ 提交于 2019-12-11 13:16:55

问题


I'm using the DataTable.column(index).visible(false) method to hide columns in my application. However with a few hundred rows it takes almost 5 seconds hiding a couple of columns. Anyone know if it is possible to speed it up?


回答1:


Maybe you could try setting http://datatables.net/reference/option/autoWidth to false?



来源:https://stackoverflow.com/questions/24129953/performance-issues-when-hiding-columns-in-jquery-datatables

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!