Skip to content

Support for Hierarchical Grouping #297

@jechternach95

Description

@jechternach95

Is your feature request related to a problem? Please describe.
Many data‑heavy scenarios require grouping to make large tables easier to navigate and understand. Without grouping support, all rows appear in a single flat list, which makes it difficult to visually organize related items, drill into categories, or understand hierarchical relationships in the data. This becomes especially challenging for enterprise‑style datasets where users expect to break information down by department, date, category, region, or other logical groupings.

Describe the solution you'd like
I would like TableView to support both single‑level and hierarchical (multi‑level) grouping. Ideally, this would allow:

  • Grouping by one or more properties (e.g., Department → Region)
  • Expand/collapse of each group or subgroup
  • Indentation or visual structure that reflects nesting depth
  • Customizable group headers via templates/styles
  • Optional custom grouping logic (e.g., grouping numeric ranges, dates, categories)
  • Smooth performance even when many groups or nested levels are present (data virtualization preserved)

TableView is an underlying ListView, which natively supports grouping, in theory binding the underlying listview to a collectionviewsource should do something.

Describe alternatives you've considered

Additional context
Hierarchical grouping is a common expectation in professional data tables (e.g., Outlook, Excel, log viewers, admin dashboards). It helps users quickly summarize, explore, and navigate structured datasets. The markdown document I linked includes an example implementation and shows how grouping could be architected within TableView, but it is not currently part of the control — I’m requesting official support so developers don’t need to implement grouping themselves

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions