Search in Senerity
Senerity Use Text box ( ) to search / filter records on listing page
Which Field will be used for searching on listing page?
By default, Sergen designates a table's first text field as the name field. For Example ProductName in Product Table
What if we want to use any other field for searching or multiple fields for searching on listing page?Sometimes, the name field may not be in the first text column. In such sitation, we have to instruct sergen to use other field or fields for searching on listing page by decorating those fields(s) on ProductRow file by QuickSearch Tag
In below case, ProductName serves as the name field, so we leave it alone. Serenity should look in the Description and SKU areas as well, though. You must do this by include the QuickSearch attribute in these field
How Senerity Match Serach String?
By default, the QuickSearch attribute uses the contains filter. There are options to make it match only precise values or match by starting with a filter.
It is also feasible to provide the user the choice of the search field she wishes to use.