Undo The Grouping Radgridview

4 posts, 1 answers
  1. Diogo Marins
    Diogo Marins avatar
    8 posts
    Member since:
    Mar 2012

    Posted 11 Apr 2012 Link to this post

    Can anyone tell me
     how do I undo the grouping columns in radgridview?

    Here attached a picture of my clustered grid. 

  2. Answer
    N Mackay
    N Mackay avatar
    250 posts
    Member since:
    Dec 2010

    Posted 12 Apr 2012 Link to this post

    You can add and remove the Group descriptors programatically
    '// Add it
    Dim descriptor As New GroupDescriptor()
    descriptor.GroupNames.Add("MyFieldName", ListSortDirection.Ascending)
    '// Remove it
    If MyRadGrid.GroupDescriptors.Count > 0 Then
    End If

    You can also loop through the collection and remove groups using RemoveAt.
  3. Stefan
    Stefan avatar
    2911 posts

    Posted 16 Apr 2012 Link to this post

    Hello guys,

    @Diogo, Norman's post is the correct way to add/remove GroupDescriptors from RadGridView. Additional information can be found here: http://www.telerik.com/help/winforms/gridview-grouping-setting-groups-programmatically.html.

    @Norman, I have updated your Telerik points, for contributing to our community. 
    All the best,
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  4. Carlos
    Carlos avatar
    8 posts
    Member since:
    Dec 2012

    Posted 27 Nov 2013 Link to this post

    Hi guys,
     Just to keep this thread up to date.  Q3 '13.  
    You can clear grouping and filters by clearing their respective descriptors:
Back to Top