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.

Menu for hiding and showing columns

See original GitHub issue
  • Ability to add / remove columns from a predefined list of columns using a contextual menu.
  • All columns would appear in this contextual menu as a checklist
  • The visible columns would be “checked” and the hidden columns would be “unchecked”
  • The user could click on an icon in the header to display the menu
  • This feature would be toggled on/off with a top-level table property
  • These settings would be “save-able” in the user’s browser session. So, if a user selected a series of columns, they could “save” these options (to the browser’s localstorage) and when they re-visit the app, the same set of columns would be displayed.
  • This would only work on the user’s browser. It would not work across computers.
  • This would use localstorage to save data
  • This menu would be “global” for the table. It would not be displayed on a per-column basis.

The UI for this (and the other features) will be considered in a separate issue

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
notatallshawcommented, Jun 21, 2019

This is one of our top priority features for table 4.1 / dash 1.1, so hang tight and you’ll be able to upgrade as soon as we get the next release out.

Thanks! Please be aware I’m very greatful for all your efforts as I don’t pay for your team’s great work on this library.

When I am using obscure features and they break I mostly find workarounds, I just wanted help by pointing out as far as I’m aware this is actually a commonly used feature.

4reactions
alexcjohnsoncommented, Jun 21, 2019

@vivekvs1 you can put extra fields in data that have no counterpart in columns - ie any column that you previously marked hidden, just remove it. Does that cover your use case?

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
How to create a button for hiding rows or columns
Select all columns you want to group and go to the menu Data >> Group. That's all J The hide button will be...
Read more >
Show or hide columns in a datasheet - Microsoft Support
Right-click the column header, and then click Hide Fields on the shortcut menu. Show columns. Right-click any column header, and then click Unhide...
Read more >
How to Hide and Unhide Columns and Rows in Excel - Lifewire
You can also use the right-click context menu and the format options on the Home tab to hide or unhide individual rows and...
Read more >
Show/hide columns on column menu(kendo grid) - Telerik
-> If I set :columnMenu="true", I can see a list of menus like sort ascending and it also has 'Columns' menu which shows...
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