com.smartgwt.client.widgets.grid.events

## Interface HasEditFailedHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    CalendarView, CubeGrid, DateGrid, EditTree, ListGrid, ListPalette, Menu, MenuPalette, PickListMenu, RecordEditor, SelectionTreeMenu, TableView, TreeGrid, TreePalette

      public interface HasEditFailedHandlers
      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` | `addEditFailedHandler(EditFailedHandler handler)` Called when an attempt to save inline edits fails, due to a validation error or other server error.

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

      `fireEvent`

- - ### Method Detail

    - #### addEditFailedHandler

          com.google.gwt.event.shared.HandlerRegistration addEditFailedHandler(EditFailedHandler handler)

      Called when an attempt to save inline edits fails, due to a validation error or other server error.

      The default implementation of editFailed does nothing for normal validation errors, which are displayed before editFailed() is called. For any other errors, the default implementation will call `HandleErrorCallback.handleError()`, which by default will result in a warning dialog.

      Parameters:
        `handler` - the editFailed handler
      Returns:
        `HandlerRegistration` used to remove this handler