when i useing thead Grouping. only set subHeader enableColumnFilter work, parent Column didn't work
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28.4k
- Forks
- 3.6k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 10
Description
TanStack Table version
v8.16.0
Framework/Library version
v18.2.0
Describe the bug and the steps to reproduce it
- go to the grouping example (https://tanstack.com/table/latest/docs/framework/react/examples/grouping)
- set {enableColumnFilter: true} for parentColumn and subParent
- wirte the debug code for or console.log(header.column.getCanFilter())
- that result was false
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://codesandbox.io/p/sandbox/modest-lederberg-lzppdp
Screenshots or Videos (Optional)
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the grouping example linked in the issue and reproduce the behavior in the provided CodeSandbox. Inspect the output and header.column.getCanFilter() for the parent column, subParent, and subheaders; done means the intended filter capability is consistent with enableColumnFilter for grouped columns and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100