SyntaxFix
Write A Post
Hire A Developer
Questions
Another alternative is
dtColumns[index].visible = false/true;
To show or hide any column.