Hello,
I finally got my group panel items to show the name of the column rather than the type of the object stored in the Header property. A picture is attached.
Unfortunately, now I lost the nice built in functionality that comes with it.
Such as:
- The border around the column name
- The ability to sort the group by (asc/desc)
- The X that slides in from the right to remove the item from the group by.
Is there a way to get that back? Or perhaps I should be doing it a different way?
Here is my XAML:
<
Style
TargetType
=
"telerik:GridViewGroupPanelItem"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
>
<
TextBlock
Text
=
"{Binding Column.Header.Name}"
/>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Thanks in advance!