-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parent columns in groups are not respecting the isVisible value we're passing in #5770
Comments
Hmmm, I think the fixed functionality is what actually makes sense here. You don't have to use this API if you want to check something else. |
@KevinVandy I agree that it makes sense to look at children column visibility for the fallback value, but IMO it would be ideal if the logic respected the assigned visibility state of the column. For example:
|
@KevinVandy Is this a solution you would be open to? If so, would you want me to create the PR for it? |
Only in the alpha. Want to limit breaking changes in main. |
I believe this PR is the root cause.
We upgraded our @tanstack/react-table library from 8.9.3 to 8.20.5. Prior to this change, our header column parents were being hidden by us setting column visibility of the header column parents to false. We DO want the children columns to show, even when the parent columns are set to false. After making the upgrade to 8.20.5, the parent columns are showing, even though we are setting the column visibility to false.
Is there any way we can revert this PR, assuming it is the root cause here? To reiterate, we do not want parent column headers to show just because a child column is showing.
The text was updated successfully, but these errors were encountered: