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

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

public interface HasSelectionUpdatedHandlers
extends HasHandlers


Method Summary
 HandlerRegistration addSelectionUpdatedHandler(SelectionUpdatedHandler handler)
          Called when selection changes.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addSelectionUpdatedHandler

HandlerRegistration addSelectionUpdatedHandler(SelectionUpdatedHandler handler)
Called when selection changes. Note this method fires exactly once for any given change unlike the selectionChanged event.

This event is fired once after selection/deselection has completed. The result is one event per mouse-down event. For a drag selection there will be two events fired: one when the first record is selected and once when the range is completed.

This event is also fired when selection is updated by a direct call to one of the DataBoundComponent select/deselect methods. Calls on the Selection object do not trigger this event.

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