[v7] Column toggle visibility feature
See original GitHub issueTo add column show/hide functionality(via user actions), there seems to be following ways :-
-
Add a new hook, which have default state, detach current
show
attribute from columns and derive it from plugin’s default state and add needed column methods. -
Keep the current data structure, add a new method to column for toggling visibility, but will require one more property apart from
isVisible
andshow
. -
Manage the state outside of react-table, by updating the
columns
config itself.
@tannerlinsley , what are your thoughts on it and what would you prefer ?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:12 (6 by maintainers)
Top Results From Across the Web
[v7] Column toggle visibility feature · Issue #1600 - GitHub
Keep the current data structure, add a new method to column for toggling visibility, but will require one more property apart from isVisible...
Read more >React Table Column Visibility Example | TanStack Table Docs
An example showing how to implement Column Visibility in React Table.
Read more >Toggling column visibility removes table header title
Toggling column visibility removes table header title. Hi,. I am using KTDatatables Metronic v7 and want to toggle column visibility.
Read more >Since Upgrade to Vcenter 7.0 U3 no Option to Show...
Hi , Is this an Bug from Vcenter U3 that we are not able to Show or Hide Columns in the Vcenter VM...
Read more >Enabling the table columns visibility toggle - Pega
Enabling the table columns visibility toggle · In the Section form, click a header of a column, and then click the View properties...
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 Free
Top 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
For features like providing toggling functionality at user level, something like given in snapshot on this link https://github.com/tannerlinsley/react-table/issues/1649#issue-525806262
Tracking all of this in #1700