Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35271

Can We Hide Multiple Columns at a time?

$
0
0

Can We Hide Multiple Columns at a time?

right now i am using : var columnsLength = table.fnSettings().aoColumns.length-2; for(var i=1;i<columnsLength;i++){ if(i%2==0){ table.fnSetColumnVis(i, true); }else{ table.fnSetColumnVis(i, false); } }

is there any function which takes multiple column index and hide or show them?


Viewing all articles
Browse latest Browse all 35271

Trending Articles