Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Allowed Filters

  • 2 minutes to read

You can use the following properties to specify the available filters in the drop-down filter, filter editor, and filter row:

Property Description
ColumnBase.AllowedUnaryFilters Gets or sets unary filters that the GridControl‘s column supports.
ColumnBase.AllowedBinaryFilters Gets or sets binary filters that the GridControl‘s column supports.
ColumnBase.AllowedAnyOfFilters Gets or sets any of filters that the GridControl‘s column supports.
ColumnBase.AllowedDateTimeFilters Gets or sets date-time filters that the GridControl‘s column supports.
ColumnBase.AllowedBetweenFilters Gets or sets between filters that the GridControl‘s column supports.
ColumnBase.AllowedDataAnalysisFilters Gets or sets data analysis filters that the GridControl‘s column supports.
DataViewBase.AllowedGroupFilters Gets or sets group filters that the GridControl supports.
ColumnBase.AllowedAggregateFilters Gets or sets aggregate filters that the GridControl column supports.
ColumnBase.AllowedFormatConditionFilters Gets or sets whether the GridControl‘s column supports conditional formatting filters.

Since the type of the above mentioned properties is a nullable flagged enum, you can specify allowed filters for a specific column as follows:

<dxg:GridColumn ... AllowedBinaryFilters="BeginsWith,EndsWith,Equals"/>

The default value is null. If the GridControl is bound to a virtual source, all filters are disabled.

When all filters are disabled:

#Usage Notes