primereact icon indicating copy to clipboard operation
primereact copied to clipboard

TreeTable: no filterDisplay="menu" support

Open JMeyke opened this issue 4 months ago • 1 comments

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

JMeyke avatar Sep 03 '25 12:09 JMeyke

@melloware Can I work on this?

sarathkumarsasi avatar Sep 18 '25 10:09 sarathkumarsasi