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

Can a RadGrid have combined Filtering Mode?

5 Answers 81 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sintayehu
Top achievements
Rank 1
Sintayehu asked on 20 Jun 2013, 01:47 PM

Hi,

We have a Grid where some columns are easily filtered using the telerik row filter. And we like this quick filter access for most columns but but some we would like to enable the popup filter for.

Is there a way to make these two modes be supported in a Grid?

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 24 Jun 2013, 11:22 AM
Hello,

I am afraid that there is not an option to mix both the filtering modes for the same RadGridView. 

Regards,
Didie
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sintayehu
Top achievements
Rank 1
answered on 28 Jun 2013, 01:43 PM
That is unfortunate. I also tried to create a custom Filtering Control per http://www.telerik.com/help/silverlight/gridview-filtering-custom-filtering-controls.html but this aproach only works for popup mode.

Any recomendations on how I could allow (Date or numeric ) range filtering when the Grid is in FilterRow Mode?



0
Dimitrina
Telerik team
answered on 01 Jul 2013, 10:18 AM
Hi,

You can always change the default editor when the filtering mode is FilterRow. So you will have your own custom editor in place of the default one (i.e. the TextBox or RadDateTimePicker that we provide by default). Actually, this editor is the same that you see in our stock FilteringControl - it is the upper one of the two editors that you see in our stock FilteringControl.

Replacing the default filter editor is described here.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Sintayehu
Top achievements
Rank 1
answered on 01 Jul 2013, 12:55 PM
Yeah, I actually have used that method to replace the dynamically generated textbox.
 
However I don't see this method help create an advance filter control like the pop up filter.

It seems to me that in FilterRow Mode there can only be one field editor per column. I even doubt that this approach can be used to even to create a simple date range filter.

But please let me know if there is an example showing the use of more than one field editor per column. or something that shows if the viewmodel supports this.

Thanks!
0
Rossen Hristov
Telerik team
answered on 02 Jul 2013, 07:10 AM
Hello,

I am afraid that the underlying "Filter Row" view model is very simple and supports only one editor which you can replace. Unfortunately, there is no way to replace it with two editors.

You will have to use the Popup mode which is more advanced and you can create a date range filter there since there are two available editors. You can even replace the default filtering control with a custom one as shown in this demo. The founded column has a custom filtering control which is a date range filter. Unfortunately, you cannot use this when in Filter Row mode. This is by design.

Regards,
Rossen Hristov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Sintayehu
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Sintayehu
Top achievements
Rank 1
Rossen Hristov
Telerik team
Share this question
or