Hi,to display a detailled grouped header, I use the GroupByItemTemplate and a DataTemplate.I want to show the value of a nested column in the header of the group.How can I do this?I can show the Value of the groupby-textcolumn and Count:<ig:TextColumn.GroupByItemTemplate > <DataTemplate > <StackPanel Orientation="Horizontal"> <TextBlock Text="{Binding Value}"></TextBlock> <TextBlock Text=" (" /> <TextBlock Text="{Binding Count}"></TextBlock> <TextBlock Text=") " />but the display of the nested column-Value fails with <TextBlock Text="{Binding Records.Konto.Value}"></TextBlock>your helphttp://help.infragistics.com/NetAdvantage/WPF/2011.2/CLR4.0/?page=xamGrid_GroupBy.htmlexplains the properties of the data template ,of type GroupByDataContext, Value - the value of the row. Records - the collection of data objects belonging to the GroupBy row. Count - the number of items that belongs to the GroupBy row.
How can I access the value of the Records-Property?Thanks voks
Hello voks,
To access items in the Records collection can be returned by index. E.g.:
<TextBlock Text="{Binding Records[0].Konto}" />
Let me know if you have any questions with this matter. Thank you.
Hi Duane,
your code has answered my question!
Thanks voks