Hiding a group in RadGridView

2 posts, 0 answers
  1. MilesR
    MilesR avatar
    3 posts
    Member since:
    Jan 2017

    Posted 28 Dec 2017 Link to this post

    Hello,

    I have a RadGridView that groups its items by an ID.  There is some filtering done that results in some of the groups only having one row in them.  I am struggling to find a way to hide or filter out the groups that only have one item in them.  Thank you for any suggestions or help.

  2. Stefan
    Admin
    Stefan avatar
    1024 posts

    Posted 02 Jan Link to this post

    Hi Miles,

    In order to achieve this, you can hook up to the Grouping event of RadGridView. It is raised when the grouping operation is about to be performed. At this state you can add the needed descriptor to the FilterDescriptors collection of the control, thus the needed group would not be displayed. More information can be found in the Programmatic Filtering topic. Can you please check it out?

    Hopefully, this helps.

    Regards,
    Stefan
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top