Replace Filter Operators

5 posts, 0 answers
  1. Jason Parrish
    Jason Parrish avatar
    87 posts
    Member since:
    Sep 2009

    Posted 24 Feb 2011 Link to this post

    Does the grid support my replacing/removing the Filter operators?

    Some column examples:

    Total Sales (dollar format)
    Replace filter textbox and operators menu with predefined options of "< 1 Million", "1 to 10 Million", "11 to 50 Million", and "> 50 Million".

    Category (text but business rules only allow 3 categories)
    So replace filter textbox and operators menu with the 3 categories, e.g. "Fruit", "Bread", "Meat"

  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 25 Feb 2011 Link to this post

    Hello Jason,

    The RadGridView supports implementing Custom Filtering which would be suitable for this. Please have a look at the documentation here on custom filtering and also at the demos on your PC under GridView >> Filtering >> Custom Filtering

    If you need further help, please let me know
    Thanks
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jason Parrish
    Jason Parrish avatar
    87 posts
    Member since:
    Sep 2009

    Posted 25 Feb 2011 Link to this post

    Thank you.  I am familiar with custom filtering, but that is not exactly what I am look for.

    I have attached a few screenshots of an app that I built using a competitor's grid a couple of years ago. 
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 25 Feb 2011 Link to this post

    Hello Jason,

    As far as I'm aware, this is not upported, but instead of the custom filtering I suggested before, you could use a Custom Filtering Row. Have a look at the demos under GridView >> Filtering >> Custom Filter Row. This allows you to integrate the custom filtering directly into the grid.

    I have started to look at altering the context menu that is produced when clicking on the regular filter section, but at the moment, I don't believe that this will be flexible enough for your needs. If I can figure out how to adapt it for you in a way that I think you will be happy with, I'll let you know.

    Regards,
    Richard
  6. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 01 Mar 2011 Link to this post

    Hi Jason,

    Thank you for writing.

    I would second what Richard has already said: we do not support the functionality shown in your screen-shots. Since this is a very specific scenario, you will have to implement it yourself, probably with a custom filter dialog, custom filter button and using Custom Filtering.

    All the best,
    Martin Vasilev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top
UI for WinForms is Visual Studio 2017 Ready