Grouping in Gridview

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    1 posts
    Member since:
    May 2014

    Posted 30 May Link to this post

    Just curious how to tell if a gridview is being grouped at the time?  if it is being grouped, how to clear all grouping programmatically?
  2. Dimitar
    Dimitar avatar
    1408 posts

    Posted 31 May Link to this post

    Hello Kevin,

    Thank you for writing.

    You can use the GroupDescriptors collection. For example:
    private void RadButton1_Click(object sender, EventArgs e)
        if (radGridView1.GroupDescriptors.Count >0)

    Please let me know if there is something else I can help you with. 
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top