ReVoPEP
ReVoPEP

Reputation: 29

How to group columns based on date? XAML

In my program, I load the entire table and I would like to group all columns based on date. I don't know how to do it in xaml. Sorry for my english. My table looks like this:

enter image description here

can something be achieved from this level of the table?

Upvotes: 0

Views: 40

Answers (1)

Ahmed Zaki
Ahmed Zaki

Reputation: 191

You can use CollectionViewSource to Sort, Filter and Group your data and then bind it to the ItemsSource of the ListView.

Check the following articles:

How to: Group Items in a ListView That Implements a GridView

ListView grouping

Upvotes: 1

Related Questions