Clears the search, as if the user pressed 'Show all' or 'Reset search'. This code should go to AfterTableInit event of the List page.
Syntax
resetSearch()
Arguments
No arguments
Return value
No return value
Examples
If search is not started apply the initial search conditions and only show products that belong to Beverages category.
srchObj = SearchClause.getSearchObject("Products")
srchObj.resetSearch()
See also: