com.smartgwt.client.widgets.grid.events
Interface HasEditFailedHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
ListGrid, Menu, TreeGrid

public interface HasEditFailedHandlers
extends HasHandlers


Method Summary
 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 com.smartgwt.client.rpc.RPCManager#handleError, which by default will result in a warning dialog.

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