TreeListSettingsBehavior.FilterRowMode Property
Gets or sets a value defining whether the Filter Row filter is applied automatically or on clicking the Apply button.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.2.dll
Declaration
[DefaultValue(GridViewFilterRowMode.Auto)]
public GridViewFilterRowMode FilterRowMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
GridViewFilterRowMode | Auto | One of the GridViewFilterRowMode enumeration values. |
Available values:
Name | Description |
---|---|
Auto | Criteria specified in the filter row is applied automatically. |
OnClick | Criteria specified in the filter row is applied on an ‘Apply’ button click. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to FilterRowMode |
---|---|
ASPxTreeList |
|
Remarks
If the ASPxGridViewSettings.ShowFilterRow property is set to true
, the Filter Row is displayed at the top of the ASPxTreeList data nodes. It allows end-users to filter data by typing text directly into the row.
Use the FilterRowMode property to specify the mode used in the filter row:
- Auto. Filter is applied on the fly when an end-user types text in a row. In this case, a filter condition is automatically created based upon the values entered, and applied to the column. You can set the time interval between the time a user starts typing and filtering is applied using the TreeListSettingsBehavior.AutoFilterRowInputDelay property. Each time a filter is applied, the ASPxTreeList.ProcessColumnAutoFilter event is raised.
- OnClick. Filter is applied on clicking the Apply button. Each time a new filter is applied, the ASPxTreeList.ProcessOnClickRowFilter event is raised.