This is a migrated thread and some comments may be shown as answers.

Replace Filter Operators

4 Answers 132 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jason Parrish
Top achievements
Rank 1
Jason Parrish asked on 24 Feb 2011, 07:28 PM
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"

4 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 25 Feb 2011, 11:31 AM
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
0
Jason Parrish
Top achievements
Rank 1
answered on 25 Feb 2011, 03:42 PM
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. 
0
Richard Slade
Top achievements
Rank 2
answered on 25 Feb 2011, 05:14 PM
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
0
Martin Vasilev
Telerik team
answered on 01 Mar 2011, 05:51 PM
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!
Tags
GridView
Asked by
Jason Parrish
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Jason Parrish
Top achievements
Rank 1
Martin Vasilev
Telerik team
Share this question
or