-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
-
column.getIsVisible = () => { const childColumns = column.columns return ( (childColumns.length ? childColumns.some(c => c.getIsVisible()) : table.getState().columnVisibility?.[column.id]) ?? true ) }
This is the api that defines whether column is visible.
I want to make all the columns hidden by default, meaning it will be visible only there is an attribute with value 'true' in provided columnVisibility object. Is there a way to override this api?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment