This question is locked. New answers and comments are not allowed.
Can anyone tell me how to get the GroupHeaderTemplate to work in my situation. I have the following column in my grid that is a
Thanks
I have the following GroupDescriptor setup:
GridViewComboBoxColumn with a ItemTemplate. The ItemTemplate lets me use the "Lastname, Firstname" to display to the user. I want that to also be the text in the Group headers. Can this be done? Thanks
<telerik:GridViewComboBoxColumn MinWidth="80" DataMemberBinding="{Binding ClientId}" DisplayMemberPath="Lastname" Header="Dependent of" SelectedValueMemberPath="Id" TextWrapping="NoWrap" UniqueName="ClientId"> <telerik:GridViewComboBoxColumn.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <TextBlock Text="{Binding Lastname}" /> <TextBlock Text=", " /> <TextBlock Text="{Binding Firstname}" /> </StackPanel> </DataTemplate> </telerik:GridViewComboBoxColumn.ItemTemplate> <telerik:GridViewComboBoxColumn.GroupHeaderTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <TextBlock Text="{Binding ???????.Lastname}" /> <TextBlock Text=", " /> <TextBlock Text="{Binding ???????.Firstname}" /> </StackPanel> </DataTemplate> </telerik:GridViewComboBoxColumn.GroupHeaderTemplate> </telerik:GridViewComboBoxColumn>I have the following GroupDescriptor setup:
<telerik:RadGridView.GroupDescriptors> <telerik:GroupDescriptor Member="ClientId" SortDirection="Ascending" DisplayContent="Dependent Of" /></telerik:RadGridView.GroupDescriptors>