2 posts, 0 answers
  1. Naveen
    Naveen avatar
    1 posts
    Member since:
    Feb 2009

    Posted 30 Jul 2012 Link to this post

    How to set a column group by default on load and disable the group by option in rendering mode
  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 31 Jul 2012 Link to this post


     You could define GroupDescriptor/ColumnGroupDescriptor initially as explained in our online documentation:

                                 ItemsSource="{Binding Clubs}">
                    <telerik:ColumnGroupDescriptor Column="{Binding Columns[\Name\], ElementName=clubsGrid}"
                                 SortDirection="Descending"  />

    Then, if you would like to disable user to group, you can set the IsGroupable property for each GridViewDataColumn to "False":
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" IsGroupable="False">

    I hope this is what you need.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top