question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hide/show columns

See original GitHub issue

There 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:closed
  • Created 9 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rnunez100commented, Aug 18, 2017

@Coderwill Worked for me… you need to capitalize the “c” in columns. vm.dtColumns[0].visible = false;

1reaction
giolvanicommented, Nov 5, 2014

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found