com.smartgwt.client.widgets.form.events

## Interface HasOnSearchHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    SearchForm

      public interface HasOnSearchHandlers
      extends com.google.gwt.event.shared.HasHandlers

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.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 Detail

    - #### addOnSearchHandler

          com.google.gwt.event.shared.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