Method SetDefaultFilterOperator
SetDefaultFilterOperator<T>(RadGridView, FilterOperator, params Expression<Func<T, object>>[])
Sets the default filter operator for the specified columns in the RadGridView control.
public static RadGridView SetDefaultFilterOperator<T>(this RadGridView control, FilterOperator filterOperator, params Expression<Func<T, object>>[] nameExpressions)
Parameters
controlRadGridViewThe RadGridView control.
filterOperatorFilterOperatorThe filter operator to set as default.
nameExpressionsExpression<Func<T, object>>[]The expressions to get the names of the columns.
Returns
- RadGridView
 The RadGridView control with the default filter operator set.
Type Parameters
TThe type of the data item.
SetDefaultFilterOperator(RadGridView, FilterOperator, params string[])
Sets the default filter operator for the specified columns in the RadGridView control.
public static RadGridView SetDefaultFilterOperator(this RadGridView control, FilterOperator filterOperator, params string[] columnNames)
Parameters
controlRadGridViewThe RadGridView control.
filterOperatorFilterOperatorThe filter operator to set as default.
columnNamesstring[]The names of the columns.
Returns
- RadGridView
 The RadGridView control with the default filter operator set.