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 |
---|---|
Column |
Gets or sets unary filters that the Grid |
Column |
Gets or sets binary filters that the Grid |
Column |
Gets or sets any of filters that the Grid |
Column |
Gets or sets date-time filters that the Grid |
Column |
Gets or sets between filters that the Grid |
Column |
Gets or sets data analysis filters that the Grid |
Data |
Gets or sets group filters that the Grid |
Column |
Gets or sets aggregate filters that the Grid |
Column |
Gets or sets whether the Grid |
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:
- 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.
#Usage Notes
- These properties do not affect the Search behavior.
- The AllowedGroupFilters property affects the Filter Editor only. Column drop-down filters always create conditions combined by the And operator.