<< Click to Display Table of Contents >> Navigation: Table editors > Table editor basics > Grid > Find panel |
The Grid control has the capability of finding and highlighting text within its rows using the Find Panel.
To open the Find Panel, click the to the right of the Row Navigator or right-click a column header and select Find Panel from the context menu.
Here's the Grid control from the Truck Editor with the Find Panel visible prior to typing anything into the Find Box. The Footer tells us that there are 911 rows in the Grid.
As you type text in the Find Box, the contents of the Grid will be filtered to only contain rows that contain that text. For example, here is what the Grid looks like when CON was typed into the sample control.
The Footer tells us that there are 215 rows in the Grid that contain CON. Notice that CON is found in both the Truck ID and Owner columns.
When the Find text was expanded to CONcrete, the Grid looked like this:
Again, the Footer reflects that there are 6 rows in the Grid that contain CONcrete. Notice that the search is not case sensitive.
With a single option, you can enable the extended syntax for search strings, allowing end-users to apply multiple conditions. According to the extended syntax, words separated by the space character are treated as individual conditions combined by the OR logical operator. The grid View shows records that match at least one of these conditions. To search for a string containing a space character, this string must be enclosed in quotation marks.
The following specifiers and wildcards allow users to narrow search results:
•The "+" specifier. Preceding a condition with this specifier causes the Grid to display only records that match this condition. The "+" specifier implements the logical AND operator. There should be no space character between the "+" sign and the condition.
•The "–" specifier. Preceding a condition with "–" excludes records that match this condition from search results. There should be no space between the "–" sign and the condition.
•The percent ("%") wildcard. This wildcard substitutes any number of characters in a condition.
•The underscore ("_") wildcard. This wildcard represents any single character in a condition.