Skip to main content

Filter Builder Dialog

The Filter Builder dialog allows end-users to:

  • Build complex filter criteria with an unlimited number of filter conditions combined by logical operators.

  • Save filter criteria to files, and restore previously saved criteria at a later point.

VCL Tree List: A Filter Builder Dialog Example

The table below lists the main properties that relate to the Filter Builder dialog.

Visibility

Users can use one of the following methods to display the Filter Builder dialog:

  • Click the Filter button in the TreeList control’s navigator.

  • Select the (Custom…) item in the filter dropdown provided that the Custom Filter dialog cannot display the filter condition applied to the corresponding column.

To invoke the Filter Builder dialog in code, call the TreeList control’s Filtering.RunCustomizeDialog method without a parameter.

Handle the TreeList control’s OnFilterCustomization or OnFilterDialogShow event to prevent the control from displaying the Filter Builder dialog or display a custom dialog instead.

Contents

Handle the TreeList control’s OnFilterControlDialogShow event to customize the Filter Builder dialog’s content before the dialog is displayed.