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
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:
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
Sample App: jechternach95/WinUI.TableView.SampleApp at feature/hierarchical-grouping-demo
WinUI.TableView: jechternach95/WinUI.TableView at feature/grouping_support
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