primefaces / primefaces/primereact
TreeTable: no filterDisplay="menu" support
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Feature Request: Add filterDisplay="menu" support to TreeTable
Is your feature request related to a problem?
Currently, TreeTable only supports basic column filtering with input fields. The DataTable component has a filterDisplay="menu" option that provides dropdown-style filter menus, but this functionality is not available for TreeTable.
Describe the solution you'd like
Add filterDisplay="menu" support to TreeTable component, similar to how it works in DataTable, allowing users to:
- Use dropdown filter menus instead of input fields
- Have consistent filtering UX across DataTable and TreeTable components
Describe alternatives you've considered
- Using custom header templates (complex to implement)
- Switching to DataTable (loses hierarchical structure)
- External filter controls (breaks component encapsulation)
Additional context
This would provide feature parity between DataTable and TreeTable components and improve the filtering experience for hierarchical data.
Reproducer
No response
System Information
"primereact": "10.2.1",
"react": "^18",
Steps to reproduce the behavior
No response
Expected behavior
No response
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 by comparing TreeTable's filtering behavior with the DataTable filterDisplay="menu" implementation, using the TreeTable and DataTable component entry points named in the issue. Determine the existing filtering tests or examples before defining the work needed for matching dropdown-menu behavior and consistent filtering UX.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100