Skip to main content

TreeListSettings.AutoFilterCondition Property

Specifies the type of comparison operator used by filter row to create filter conditions.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(AutoFilterCondition.Default)]
public AutoFilterCondition AutoFilterCondition { get; set; }

Property Value

Type Default Description
AutoFilterCondition Default

An AutoFilterCondition enumeration value that specifies the comparison operator type.

Available values:

Show 12 items
Name Description
Default

For the string columns and columns that are filtered by display text - the same as the BeginsWith value. For other columns - the Equals value.

BeginsWith

Selects records whose values in the corresponding colum begin with the entered value.

EndsWith

Selects records whose values in the corresponding colum end with the entered value.

Contains

Selects records whose values in the corresponding colum contain the entered value.

DoesNotContain

Selects records whose values in the corresponding colum don’t contain the entered value.

Equals

Selects records whose values in the corresponding column match the entered value.

Less

Selects records whose values in the corresponding column are less than the entered value.

LessOrEqual

Selects records whose values in the corresponding column are less than or equal to the entered value.

Greater

Selects records whose values in the corresponding column are greater than the entered value.

GreaterOrEqual

Selects records whose values in the corresponding column are greater than or equal to the entered value.

NotEqual

Selects records whose values in the corresponding column are not equal to the entered value.

Like

Selects records whose values in the corresponding column match the entered mask. Two wildcard symbols are supported: ‘%’ substitutes zero or more characters; ‘_’ substitutes a single character.

Property Paths

You can access this nested property as listed below:

Object Type Path to AutoFilterCondition
ASPxTreeList
.Settings .AutoFilterCondition

Remarks

When an end user types text in the filter row‘s cell or when the ASPxClientTreeList.AutoFilterByColumn method is called, a filter condition is created based upon the value entered. This filter is then applied to the ASPxTreeList. The comparison operator used in this filter condition is determined by the AutoFilterCondition property.

You can control the comparison operator type for a particular column by using the TreeListDataColumn.AutoFilterCondition property.

Note

Online Demos Refer to the Tree List - Data Filter Row(Web Forms) online demo to review how to filter Tree List data nodes using the Filter Row.

See Also