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

Complex filter, how to create Complex filterexpress in radgrid client binding?

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 09 Apr 2014, 09:15 AM
I'm using the radgrid client DataBinding odata data source.

add the filter like this.

var filterExpression = new Telerik.Web.UI.GridFilterExpression();
filterExpression.set_fieldName(dataField);
filterExpression.set_fieldValue(filterValue);
filterExpression.set_filterFunction(filterFunction);

grid.get_masterTableView()._filterExpressions.add(filterExpression);

but how to add OR filter ?


I want a filter in the GridView that is something like this:

ispay=0 AND (checklist eq 'CAS' OR checklist eq 'CUP')

but I'm only able to get:

ispay=0 AND checklist eq 'CAS' OR checklist eq 'CUP'
!!
help me

1 Answer, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 14 Apr 2014, 06:19 AM
Hi,

Currently the RadGrid does not support filter expressions using OR operator. However, our dev team is currently working on implementation that will support it which should be available in one of our next releases.

Regards,
Antonio Stoilkov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Ryan
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Share this question
or