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

Drop down Multiple Filter

1 Answer 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Najid Hanif
Top achievements
Rank 2
Najid Hanif asked on 11 Nov 2011, 08:19 PM
I am filtering my grid with a drop down.  I would like to apply multiple values to the filter.
In my drop down I have these item appended to my databound list
AppendDataBoundItems="true"
<Items>
   <telerik:RadComboBoxItem Text="All" />
   <telerik:RadComboBoxItem Text="All Open" Value="ALL Open" />
</Items>

So for example, filter on column status, value of ALL Open  I would want to do something like this:  ([Status] = 'Open' OR [Status] = 'Hold')
Looking at the help I don't see how to filter mutiple values, unless the "Custom" option fits this?
I only see how to filter single values like this:  tableView.filter("Status", filterVal,"EqualTo"); 
http://www.telerik.com/help/aspnet-ajax/grid-gridtableview-filter.html


Thanks

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 14 Nov 2011, 06:41 AM
Hello Najid,

You can take a look into the following documentation.
Replacing the filter expression

Thanks,
Princy.
Tags
Grid
Asked by
Najid Hanif
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 1
Share this question
or