Search Dialogs

Top  Previous  Next

The Search dialogs are used to construct and apply entered search criteria against the specified table or view to selected the required records. There are 3 different type of search dialog: Standard, Simple and Advanced.

Standard Search Dialog

The Standard Search Dialog is the default search dialog and allows a full range of relational operators to applied to each of the columns that appear in the dialog.  A column will appear in the search dialog if the column search property is set to true. The dialog can be referenced in client-script via the searchDialog property.  If you have a lot of search columns you can set the height of the dialog using the searchDialogHeight property.

Options

Specifies if all the columns search criteria must be matched or only one

Clears the entered search criteria

Simple Search

Opens the Simple Search Dialog

Advanced Search

Opens the Advanced Search Dialog

Applies the entered search criteria

Closes the dialog

Properties

closeOnApply (bool)

When set to true the dialog will automatically close when the search is applied.

Run Sample

Simple Search Dialog

The Simple Search dialog presents a very simple interface to a user and will perform a fuzzy match against all the text columns for which the simpleSearch property is set to true. If the property is not explicitly set then the search is applied to all the text columns in the data source. The dialog can be referenced in client-script via the simpleSearchDialog property. The Simple Search dialog can be made the default search dialog by setting the searchDialogMode property to "simple".

Options

Standard Search

Opens the Standard Search Dialog

Applies the entered search criteria

Closes the dialog

Properties

closeOnApply (bool)

When set to true the dialog will automatically close when the search is applied.

Advanced Search Dialog

The Advanced Search Dialog allows search criteria generated by the Standard Search Dialog to be combined together to create more powerful searches. The dialog can be referenced in client-script via the advancedSearchDialog property. The Advanced Search dialog can be made the default search dialog by setting the searchDialogMode property to "advanced".

Options

Specifies if the criteria from each search group should be combined with the "and" or "or" operator

Adds a new search criteria group

Standard Search

Opens the Standard Search Dialog

Applies the entered search criteria

Closes the dialog

Properties

closeOnApply (bool)

When set to true the dialog will automatically close when the search is applied.