Skip to content

fix: #1509 column visibility toggle disabled state for header groups#1510

Open
miraajkadam wants to merge 1 commit intoKevinVandy:v3from
miraajkadam:fix/1509
Open

fix: #1509 column visibility toggle disabled state for header groups#1510
miraajkadam wants to merge 1 commit intoKevinVandy:v3from
miraajkadam:fix/1509

Conversation

@miraajkadam
Copy link

Previously, the disabled state relied solely on !column.getCanHide() from the TanStack Table API. While this works for leaf columns, it does not correctly represent the disabled state for header groups with child columns that have enabledHiding: false.

This change adds a dedicated function to compute the disabled state for grouped columns by considering the visibility and enableHiding configuration of their child columns.

Fixes: #1509

@vercel
Copy link

vercel bot commented Mar 4, 2026

@miraajkadam is attempting to deploy a commit to the Kevin Vandy OSS Team on Vercel.

A member of the Team first needs to authorize it.

@miraajkadam miraajkadam changed the title fix: column visibility toggle disabled state for header groups fix: #1509 column visibility toggle disabled state for header groups Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parent header does not reflect disabled child state in show/hide column controls

1 participant