Allowed Filters
You can use the following properties to specify the allowed filters:
Property | Description |
---|---|
ColumnBase.AllowedUnaryFilters | Gets or sets possible unary filters that the GridControl‘s column supports. |
ColumnBase.AllowedBinaryFilters | Gets or sets possible binary filters that the GridControl‘s column supports. |
ColumnBase.AllowedAnyOfFilters | Gets or sets possible any of filters that the GridControl‘s column supports. |
ColumnBase.AllowedDateTimeFilters | Gets or sets possible date-time filters that the GridControl‘s column supports. |
ColumnBase.AllowedBetweenFilters | Gets or sets possible between filters that the GridControl‘s column supports. |
DataViewBase.AllowedGroupFilters | Gets or sets possible group filters that the GridControl supports. |
These properties are nullable flag enums. The default value is null - if the GridControl is bound to a virtual source, all filters are disabled; otherwise, enabled.
When all filters are disabled:
- You cannot edit the Automatic Filter Row.
- A column’s Filter Dropdown button is hidden.
- The Filter Editor button is not displayed.
- There are no filter items in the Context Menu.
Note
These properties do not affect the Search.