I want to change the default headers of the groups in the grid. There are two scenarios where I feel the need to do this.
1. Complex data types
When the value to group by is a simple datatype, say a string, the default headers work fine. But when grouping by a columns that is bound to a complex datatype it doesn't look as good. In those cases the headers will show all the properties of the class and the values in it.
Let's say I have a class:
My grid has one column that is bound to this type. In the column XAML I specify that the Description should be displayed and all works fine. But when I group by that column, the headers of all groups will not show only the Description but all properties, like this:
"Id:1 Desciption:Editor" and so on. How can I specify that I only want to show the value of the Description i the group headers (which is what the rows are grouped by).
2. Boolean values
When the value to group by is a boolean, there will be two groups with the headers "true" and "false" (assuming both values are represented in the data). This is the desired behavior, but I would like the headers to be "Yes" and "No" instead.