Skip to main content

GridColumn.AllowAutoFilter Property

Gets or sets whether an end-user can filter data by the column’s values using the auto-filter panel. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

[XtraSerializableProperty]
public bool AllowAutoFilter { get; set; }

Property Value

Type Description
Boolean

true, to allow an end-user to filter data by the column’s values using the the auto-filter panel; otherwise, false.

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

End-users can filter data on the fly using the auto-filter panel displayed at the top of the grid. When an end-user types the text within this panel, a filter condition is automatically created based upon the values entered and applied to the column.

The AllowAutoFilter property allows you to prevent an end-user from filtering data by the current column’s values using the auto-filter panel. If this property is set to false, the auto-filter panel’s cell that corresponds to the current column is disabled.

By default, the auto-filter panel is hidden. To show it, set the GridControl.AutoFilterPanelVisibility property to true.

See Also