Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
250
Removing a column when grouping by it
posted

Suppose there are three columns in the XamDataGrid: Year, Location and Donkey. At the moment, when I pull up the header from any of these to the upper part, I get the grouping done automagically, which is great. When I pull up a second header, the gouping gets nested, which is even more great.

However, since the nesting is so clearly specified, I feel that there's no need to list the values of the column that is used for grouping - after all, it only contains one and the same value on all the lines. That's unnecessary.

How can I format my XAML (or what methods do I need to override) to only get the donkeys, if the grouping by year and location is active?