Table of Contents

Method SetDefaultFilterOperator

Namespace
Innova.Prism.Telerik.Controls
Assembly
Innova.Prism.Telerik.dll

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

control RadGridView

The RadGridView control.

filterOperator FilterOperator

The filter operator to set as default.

nameExpressions Expression<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

T

The 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

control RadGridView

The RadGridView control.

filterOperator FilterOperator

The filter operator to set as default.

columnNames string[]

The names of the columns.

Returns

RadGridView

The RadGridView control with the default filter operator set.