GridDataColumnSettings.FilterMode Property
Specifies the filter mode for columns and rows (for ASPxVerticalGrid) values).
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.1.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
ColumnFilterMode | **Value** | One of the ColumnFilterMode enumeration values. |
Available values:
Name | Description |
---|---|
Value | A column’s data is filtered by the edit values. |
DisplayText | A column’s data is filtered by the display text. |
Property Paths
You can access this nested property as listed below:
Remarks
The grid allows you to filter its data by cell values or display text.
<dx:ASPxGridView ID="Grid" ...>
<Columns>
...
<dx:GridViewDataSpinEditColumn FieldName="Discount">
<Settings FilterMode="Value" />
</dx:GridViewDataSpinEditColumn>
</Columns>
</dx:ASPxGridView>
Filter by Column Values - The FilterMode property is set to ColumnFilterMode.Value.
Filter by Display Text - The FilterMode property is set to ColumnFilterMode.DisplayText. Users should enter text that matches the cell’s text.
Note
- The grid ignores the DisplayText filter mode in server mode.
- The CustomColumnDisplayText and CustomColumnDisplayText events are not in effect for the check column as the grid filters only the column values and ignores its display text. To specify a custom display text for the check box column, use the DisplayTextChecked and DisplayTextUnchecked properties.
See Also