问题
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