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:
- Created 5 years ago
- Comments:11 (7 by maintainers)
Top 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 >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
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.
@vivekvs1 you can put extra fields in
data
that have no counterpart incolumns
- ie any column that you previously markedhidden
, just remove it. Does that cover your use case?