Lost GridViewGroupPanelItem functionality with template

3 posts, 0 answers
  1. Kyle
    Kyle avatar
    12 posts
    Member since:
    Dec 2013

    Posted 09 Jul 2015 Link to this post


     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">
                    <TextBlock Text="{Binding Column.Header.Name}" />

      Thanks in advance!

  2. Kyle
    Kyle avatar
    12 posts
    Member since:
    Dec 2013

    Posted 10 Jul 2015 Link to this post

    I wound up going the Blend route.


  3. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 13 Jul 2015 Link to this post


    The referred part in the RadGridView's template structure is called GridViewGroupPanelItem, it represents the grouped cell within RadGridView's GroupPanel. 

    To know the latest recommendations on how to style Telerik UI for WPF you can read the common topics about Setting a Theme (Using Implicit Styles). You can also check the Editing Control Templates topic as a reference.

    Alternatively, you can specify a DisplayContent for the ColumnGroupDescriptor. To find more information, please refer to the section on Grouping.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top