Back to Devexpress

Filter Control

aspnet-114198-components-card-view-concepts-data-shaping-and-manipulation-filtering-filter-control.md

latest3.0 KB
Original Source

Filter Control

  • Jul 20, 2021
  • 2 minutes to read

The Filter Control allows end users to build complex filter criteria with an unlimited number of filter conditions, combined by logical operators.

End users can click one of the following to open the Filter Control :

  • the filter image displayed within the filter bar;

  • the filter expression link.

The Filter Bar is not displayed by default. To automatically display it after grid data is filtered with the header filter, set the ASPxGridSettings.ShowFilterBar property to ‘Auto’. To always display the Filter Bar , set the ASPxGridSettings.ShowFilterBar property to ‘Visible’.

The ASPxCardView control provides several methods that enable you to show and hide the Filter Control in code. These methods are as follows.

Visibility of Filter Operators

The filter control drop-down window displays different comparison operators based on column data type. The table below lists comparison operator visibility for different column types.

Filter Comparison OperatorString Column[1]ComboBox ColumnBinary Image ColumnOther Type Column (Numbers, Date, etc.)
Equalsyesyes (default value)noyes
Does not equalyesyesnoyes
Is greater thanyesnonoyes (default value)
Is greater than or equal toyesnonoyes
Is less thanyesnonoyes
Is less than or equal toyesnonoyes
Is betweenyesnonoyes
Is not betweenyesnonoyes
Containsyesnonono
Does not containyesnonono
Begins withyes (default value)nonono
Ends withyesnonono
Is likeyesnonono
Is not likeyesnonono
Is blankyesyesnoyes
Is not blankyesyesyes (default value)yes
Is any ofyesyesyesyes
Is none ofyesyesnoyes

Footnotes

  1. A string column is a column containing string values or a column whose GridDataColumnSettings.FilterMode property is set to DisplayText.

See Also

Filter Control

Card View Elements