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

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
CubeGrid, DateGrid, ListGrid, Menu, TableView, TreeGrid

public interface HasRowEditorExitHandlers
extends HasHandlers


Method Summary
 HandlerRegistration addRowEditorExitHandler(RowEditorExitHandler handler)
          Callback fired when the user attempts to navigate away from the current edit row, or complete the current edit.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addRowEditorExitHandler

HandlerRegistration addRowEditorExitHandler(RowEditorExitHandler handler)
Callback fired when the user attempts to navigate away from the current edit row, or complete the current edit.

Call RowEditorExitEvent.cancel() from within RowEditorExitHandler.onRowEditorExit(com.smartgwt.client.widgets.grid.events.RowEditorExitEvent) from this method to cancel the default behavior (Saving / cancelling the current edit / moving to the next edit cell).

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