-
I have a situation where I want to hide a column from the user, but still make its filter available since it's useful. The column itself only contains a yes/no flag and is a waste of space to actually show in the table. Any help would be appreciated. Thanks! I'm rendering filters like this: headerGroup.headers.map((column, index) => column.canFilter ? <div key={index}>{column.render('Filter')}</div> : null) |
Beta Was this translation helpful? Give feedback.
Answered by
jessehas
Mar 9, 2021
Replies: 2 comments
-
Resolved by using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jessehas
-
make it a hidden column in initialState |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resolved by using
allColumns
rather thanheaderGroup
.