ASPxGridViewBehaviorSettings.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
Assembly: DevExpress.Web.v19.1.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:
Library | Object Type | Path to FilterRowMode |
---|---|---|
ASP.NET Controls and MVC Extensions | ASPxGridView |
|
GridViewProperties |
|
|
GridViewSettings |
|
|
GridViewSettings<RowType> |
|
|
MVCxGridView |
|
|
MVCxGridViewProperties |
|
|
ASP.NET Bootstrap Controls | BootstrapGridView |
|
Remarks
If the ASPxGridViewSettings.ShowFilterRow property is set to true, the Filter Row is displayed at the top of the ASPxGridView data rows. 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 ASPxGridViewBehaviorSettings.AutoFilterRowInputDelay property. Each time a filter is applied, the ASPxGridView.ProcessColumnAutoFilter event is raised.
- OnClick. Filter is applied on clicking the Apply button. Each time a new filter is applied, the ASPxGridView.ProcessOnClickRowFilter event is raised.
See Also