Package com.smartgwt.client.widgets.form.events

# Interface HasOnSearchHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `SearchForm`

public interface HasOnSearchHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addOnSearchHandler(OnSearchHandler handler)`
  Notification event fired indicating that a user is attempting to perform a search.

  ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

  `fireEvent`

- ## Method Details

  - ### addOnSearchHandler

    HandlerRegistration addOnSearchHandler(OnSearchHandler handler)
    Notification event fired indicating that a user is attempting to perform a search. This is fired when a SearchForm is submitted either from a click on a `SubmitItem` in the form, or from an Enter keypress if `searchOnEnter` or `DynamicForm.saveOnEnter` is true.
    Parameters:
      `handler` - the onSearch handler
    Returns:
      `HandlerRegistration` used to remove this handler