You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that it doesn't render the header component from column.columnDef.header , because its not ReactNode, I should be
able to use flexRender but it's not possible because I dont have access to header element in order to getContext.
Any suggestions?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
There is an example on docs how to handle columns visibility
https://tanstack.com/table/v8/docs/guide/column-visibility#column-visibility-toggle-apis
The problem is that it doesn't render the header component from
column.columnDef.header
, because its not ReactNode, I should beable to use
flexRender
but it's not possible because I dont have access to header element in order togetContext
.Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions