This project has moved and is read-only. For the latest updates, please go here.

Custom group headers at 2 levels

Nov 24, 2014 at 4:27 PM
I am using the a datagrid which is grouped by 2 properties which cannot be changed by the user (the GroupByControl is hidden). I would like to be able to customise the headers for my groups on both level 0 and 1, but I only appear able to set a GroupConfiguration for one level of grouping. If I try and set different GroupConfigurations for the two groups the level 1 group header will appear fine, but the level 0 header will disappear. If I then remove the level 1 group configuration the level 0 header will appear fine. What can I do to achieve (different) custom group headers at 2 levels?
Nov 25, 2014 at 11:11 AM
I have solved this problem. On the level 0 group configuration I was binding to the Items collection forgetting that the items collection was in fact a collection of collectionviewsource's for the second group level.
I had to bind level 0 text to Items[0].Items[0].Name to solve my problem and now it all works perfectly.
Marked as answer by b_hayter on 11/25/2014 at 3:11 AM