How to dynamically hide column in react-table? #4228
Unanswered
dhanushkumarsivaji
asked this question in
Q&A
Replies: 1 comment
-
You can set |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have created the react-table. Here am trying to hide the column dynamically. It means if the data is missing in the API for a particular column, I need to hide the column entirely.
I tried by giving the property
show: false
. But it seems this property is not working in the version of@tanstack/react-table
anymore.Here you can get the working demo link of the table - https://codesandbox.io/s/tanstack-sorting-9dp6o0?file=/src/main.tsx:208-229
Is there any way I can hide the column dynamically in react-table. Please let me know the possibility of that
Beta Was this translation helpful? Give feedback.
All reactions