GridDataColumnSettings.FilterMode Property
In This Article
Specifies the filter mode for columns and rows (for ASPxVerticalGrid) values).
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(ColumnFilterMode.Value)]
public ColumnFilterMode FilterMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Column |
Value | One of the Column |
Available values:
Name | Description |
---|---|
Value | A column’s data is filtered by the edit values. |
Display |
A column’s data is filtered by the display text. |
#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 Display
Text filter mode in server mode. - The ASPx
Grid event (the GridView. Custom Column Display Text View property for MCV Grid) is not in effect for the check box 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 DisplaySettings. Custom Column Display Text Text and DisplayChecked Text properties.Unchecked
See Also