This question is locked. New answers and comments are not allowed.
Maybe this is not a common case, but we really need to achieve this.
I'm creating a custom control that use RadGridView as one of it's part.
Our control need filtering capability, and I'm doing it this way:
My question is how to create the filter that uses logical operator OR between columns?
Something like this:
Where column1 = xxx OR column2 = xxx
thanks
I'm creating a custom control that use RadGridView as one of it's part.
Our control need filtering capability, and I'm doing it this way:
foreach (GridViewColumn column in _gridView.Columns){ if ((column as GridViewBoundColumnBase).DataType == typeof(string)) { IColumnFilterDescriptor columnDescriptor = column.ColumnFilterDescriptor; columnDescriptor.SuspendNotifications(); columnDescriptor.FieldFilter.Filter1.Operator = FilterOperator.Contains; columnDescriptor.FieldFilter.Filter1.Value = keyword; columnDescriptor.ResumeNotifications(); }}My question is how to create the filter that uses logical operator OR between columns?
Something like this:
Where column1 = xxx OR column2 = xxx
thanks