Called when user applies a search.
onSearch = function(event)
You can add event listener during the object creation:
or after the object has been created:
An array
searchData in
eventData with search
fields/values will be sent with the event. If you modify this array, it will be applied back to the search.
Your event listener can be executed before or after the event has been processed. You can also cancel
the default behavior. See
Events page in utilities.