Skip to main content

Adding a Search Bar

Option
hasSearchBar DataElement

Provides a search bar to search on a string field. The value should be field:op where op is the operator such as eq, lt, lk... It is required to also define a Finder for the DataElement which matches the operation used for the searchbar.

Case-insensitive matching of the name of an element in the searchbar can be achieved by defining the finder findElementByNameLk and the following option:

<options>
<hasSearchBar>name:lk</hasSearchBar>
</options>