Automatic Filter Row
A user can type text in the Automatic Filter Row to apply a filter condition to data.
Set the ColumnBase.ShowCriteriaInAutoFilterRow property to true to enable the filter criteria selector. The filter criteria selector allows users to choose filter criteria from the drop-down list.
The table below lists the main properties that affect elements’ behavior and appearance.
Characteristics | Members |
---|---|
Visibility | Table |
Position | Table |
Availability and Behavior | Column |
Criteria Selector Availability | Column |
Conditions and Criteria | Column |
Row Data | Column |
Template | Column |
Style | Column |
The EditSettings property affects the Automatic Filter Row. Specify the CellTemplate to assign a different editor for data cells:
<dxg:GridColumn FieldName="Date">
<!-- Automatic Filter Row uses TextEdit -->
<dxg:GridColumn.EditSettings>
<dxe:TextEditSettings/>
</dxg:GridColumn.EditSettings>
<!-- Data cells use DateEdit -->
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<dxe:DateEdit x:Name="PART_Editor"/>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>
See Also