Determine the number of filtered columns in GridView

3 posts, 1 answers
  1. Marcus
    Marcus avatar
    35 posts
    Member since:
    Aug 2012

    Posted 20 Jun Link to this post

    Dear support,

    I need a textlabel above the grid that displays the number of filtered columns.

    My columnfilters are all implemented the way that is described in der following article http://docs.telerik.com/devtools/wpf/controls/radgridview/filtering/custom-filtering-controls.

    Is there a property which contains the number of active filter that I can bind to my textlabel? Or how can I implement it to achieve this aim.

    Thanks in advance

    Marcus

  2. Answer
    Martin Vatev
    Admin
    Martin Vatev avatar
    90 posts

    Posted 22 Jun Link to this post

    Hello Marcus,

    To achieve the desired behavior, you can bind the Content property of the label to FilterDescriptors.Count property of RadGridView, which will return the number of the filtered columns.

    I hope that this helps.

    Regards,
    Martin Vatev
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Marcus
    Marcus avatar
    35 posts
    Member since:
    Aug 2012

    Posted 23 Jun Link to this post

    Hello Martin,

    it. works! Thanks

    Marcus

Back to Top