Skip to content

How to hide columns by default in v7? #1971

Closed Answered by tannerlinsley
nbar1 asked this question in General
Discussion options

You must be logged in to vote

This is now a first class citizen of the internal table state at state.hiddenColumns which is an array of columns that are visible. There are also plenty of instance methods that allow you to control this as well. See "hiddenColumns" and related methods here: https://github.com/tannerlinsley/react-table/blob/master/docs/api/useTable.md

Replies: 10 comments 14 replies

Comment options

You must be logged in to vote
3 replies
@goldenbearkin
Comment options

@jdvsch
Comment options

@tannerlinsley
Comment options

Answer selected by nbar1
Comment options

You must be logged in to vote
4 replies
@purskills
Comment options

@govi74
Comment options

@goldenbearkin
Comment options

@at-webdev
Comment options

Comment options

You must be logged in to vote
5 replies
@ghost
Comment options

@p-somers
Comment options

@hungdev
Comment options

@hungdev
Comment options

@zachary
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tijmenvangurp
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@anondawg21
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet