com.smartgwt.client.widgets.grid.events

## Interface HasEditFailedHandlers

- All Superinterfaces:
    HasHandlers
  All Known Implementing Classes:
    CalendarView, CubeGrid, DateGrid, EditTree, ListGrid, ListPalette, Menu, MenuPalette, RecordEditor, SelectionTreeMenu, TableView, TreeGrid, TreePalette

      public interface HasEditFailedHandlers
      extends HasHandlers

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

          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 `RPCManager.handleError()`, which by default will result in a warning dialog.

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