Can We Hide Multiple Columns at a time?

Can We Hide Multiple Columns at a time?

akgargakgarg Posts: 2Questions: 1Answers: 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?

This discussion has been closed.