Skip to content

fix(table-core): scan rows for first non-nullish value in getColumnCanGlobalFilter#6252

Open
SAY-5 wants to merge 1 commit into
TanStack:alphafrom
SAY-5:fix-global-filter-first-row-nullish
Open

fix(table-core): scan rows for first non-nullish value in getColumnCanGlobalFilter#6252
SAY-5 wants to merge 1 commit into
TanStack:alphafrom
SAY-5:fix-global-filter-first-row-nullish

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 12, 2026

Copy link
Copy Markdown

🎯 Changes

getColumnCanGlobalFilter's default getColumnCanGlobalFilter only looked at the first row's cell value, so a column was wrongly marked non-filterable whenever the first row happened to hold undefined/null even though every other row had a string or number. It now scans rows for the first non-nullish value before deciding. Closes #4594.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm test:pr.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant