Thank you for your feedback! You have rated this topic in the last 30 days.
We recommend that you use the xamDataGrid control instead of the xamGrid control. The xamGrid is being planned for retirement over the next few years and will not receive any new features. We will continue to provide support and critical bug fixes for the xamGrid during this time. For help or questions on migrating your codebase to the xamDataGrid, please contact support.
Using the Custom Filter Dialog
Topic Overview
Purpose
This topic explains the Custom Filter Dialog feature in the xamGrid™ and how the dialog interface can be used by the end user to create complex filters on data in a column.
Required background
The following table lists the topics required as a prerequisite to understanding this topic.
The following table lists the configurable aspects of the filtering and enabling the Custom Filter Dialog in the xamGrid control. Additional details are available after the summary table.
Configurable aspects
Details
Properties
Enabling the Custom Filter Dialog
Filtering has to be enabled through a FilterMenu so the end user can access the Custom Filter Dialog.
The following screenshots demonstrate how the filter menu and custom filter dialog looks as a result of enabling the filtering with the following setting:
The following table summarizes the user interaction capabilities of the Custom Filter Dialog in the xamGrid control. Additional details are available after the table.
The user can…
Using…
Details
Configurable?
add a new filtering condition
the Add Condition button
Clicking on the button creates a new entry in the filtering conditions grid.
edit the filter operand
the combo box in the filter operand field
The Filter operand field contains an editable combo box that lists all operands applicable for the data type of the filtered column.
edit the filter value
the editor in the filter value field
The Filter value field contains a specific editor for the data type of the filtered column.
delete the selected conditions
the Remove Condition(s) button
Clicking the button deletes the selected condition(s).
combine two or more selected conditions in an And group
the And Group button
Clicking the button combines two or more selected conditions with AND operator and surrounds the group with brackets.
combine two or more selected conditions in an Or group
the Or Group button
Clicking the button combines two or more selected conditions with an OR operator and surrounds the group with brackets.
switch between logical operators AND and OR
the Toggle button
Clicking the button switches the logical operator between selected conditions
accept and apply the newly created complex filter
the Accept button
Clicking the button applies the newly created complex filter to the column data.
close the dialog without applying the created filter
the Cancel button
Clicking the button closes the dialog without applying the created filter to the column data.
Related Content
Topics
The following topics provide additional information related to this topic.