Skip to main content
Tab

ASPxFilterControlBase.SetColumnClauseClass(FilterControlColumn, FilterColumnClauseClass) Method

Sets the column’s clause type.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public static void SetColumnClauseClass(
    FilterControlColumn column,
    FilterColumnClauseClass clauseClass
)

Parameters

Name Type Description
column FilterControlColumn

A FilterControlColumn object that is the column whose clause type will be changed.

clauseClass DevExpress.Data.Filtering.Helpers.FilterColumnClauseClass

One of the DevExpress.Data.Filtering.Helpers.FilterColumnClauseClass enumeration values.

Remarks

The filter control automatically determines the type of the column clause, which can be one of the following: Generic, DateTime, String, Lookup, and Blob; and displays the corresponding set of comparison operators for the column.

Use the SetColumnClauseClass method to manually change the column’s clause type, therefore setting the required available operators for a column.

See Also