primefaces / primefaces/primereact

TreeTable: no filterDisplay="menu" support

Open
#8,266 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.