Hide/show columns
See original GitHub issueThere is any way to hide or show columns after the table has been rendered?
I know it is possible using fnSetColumnVis from oInstance, but it will be perfect if I could use this feature from DTColumnBuilder, ex:
//columns definition
$scope.dtColumns = [
DTColumnBuilder.newColumn('...')...
...
];
//so this command
$scope.dtColumns[0].setVisible(false);
$scope.dtColumns[3].setVisible(true);
Tks
Issue Analytics
- State:
- Created 9 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Show or hide columns in a list or library - Microsoft Support
Go to the list or library where you want to show or hide columns. · At the top of any column, select the...
Read more >How to Hide Columns or Rows in Excel (Easy Tutorial)
To hide a column, execute the following steps. 1. Select a column. ... 2. Right click, and then click Hide. ... Note: to...
Read more >How to hide columns in Excel using shortcut, VBA or grouping
Select the column or any cell within the column(s) you want to hide. On the Home tab, in the Cells group, click Format...
Read more >Hiding Columns and Rows in Excel the Easy Way
Click the Format button located on the Home tab / Cells group then choose Hide Columns or Rows (another option is to Right...
Read more >How to Hide or Unhide Columns and Rows in Excel
How to Hide Columns and Rows in Excel · Right-click the selected column or row you want to hide and choose Hide. ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Coderwill Worked for me… you need to capitalize the “c” in columns. vm.dtColumns[0].visible = false;
I forgot to mention the colVis!
I don’t would like to use the colVis, I think it is low customizable, at least, I couldn’t custom it my way.