Package com.smartgwt.client.widgets.grid.events

# Interface HasEditFailedHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `CalendarView`, `CubeGrid`, `DateGrid`, `EditTree`, `ListGrid`, `ListPalette`, `Menu`, `MenuPalette`, `PickListMenu`, `RecordEditor`, `SelectionTreeMenu`, `TableView`, `TreeGrid`, `TreePalette`

public interface HasEditFailedHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  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 Details

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

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