Skip to main content

Filtering Overview

  • 2 minutes to read

#Overview

Filtering allows you to display a subset of records in a data source that meet the desired criteria. When filtering is applied, only data rows that meet specified criteria are displayed. Data can be filtered against a single column or multiple columns. End-users can build simple filter criteria and apply them, using the Automatic Filter Row or a column's filter dropdown. Complex filter expressions can be created and applied via the Filter Editor.

FIlteringOverview

Applying filtering to a column does not affect the filter settings of any other column. Column filters are combined by the AND operator into a single filter expression that is applied to the grid. The filter string can be considered to be the WHERE clause of an SQL SELECT statement.

By default, the Filter Panel is automatically shown at the bottom of the View, after a filter has been applied. Removing the filter hides this panel. The filter panel displays a string that represents current filter criteria, and contains buttons to disable/enable and clear the filter. To make this panel always visible or always hidden, use the DataViewBase.ShowFilterPanelMode property.

The text displayed within the Filter Panel, is returned by the DataViewBase.FilterPanelText property. To provide your own text that describes the grid's filter, handle the DataViewBase.CustomFilterDisplayText event.

#Availability

Note that these settings do not affect filtering in code.

#Concepts

#Examples