How to: Specify a Filter for a View Without Binding It to Any Particular Column

The following example shows how to assign a filter to a View using the ViewFilter.NonColumnFilter property.

gridView1.ActiveFilter.Clear();
gridView1.ActiveFilter.NonColumnFilter = "UnitPrice > 10 AND Discount > 0.05";