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

Filtering across fields : OR instead of AND

2 Answers 63 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 28 Dec 2011, 07:32 AM
It seems that the current filters are set up on dataSource to do an AND when I apply a filter across multiple fields. By this, I mean result rows shows up only if the data exists in all the fields specified in the filter.

Is it possible for results to be displayed if just one of the fields in the filter match?

Example: http://jsfiddle.net/ZpCAy/27

A search for 'Vins' does not present any results.

2 Answers, 1 is accepted

Sort by
0
Accepted
Nikolay Rusev
Telerik team
answered on 28 Dec 2011, 08:41 AM
Hello Joel,

See the jsFiddle for more details.

Greetings,
Nikolay Rusev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Joel
Top achievements
Rank 1
answered on 28 Dec 2011, 08:45 PM
Nice ... thanks. The 'logic' option is missing in the documentation.
Tags
Data Source
Asked by
Joel
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Joel
Top achievements
Rank 1
Share this question
or