com.smartgwt.client.widgets.grid.events

## Interface HasSelectionUpdatedHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    CubeGrid, DateGrid, EditTree, ListGrid, ListPalette, Menu, MenuPalette, RecordEditor, TableView, TreeGrid, TreePalette

      public interface HasSelectionUpdatedHandlers
      extends com.google.gwt.event.shared.HasHandlers

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.HandlerRegistration` | `addSelectionUpdatedHandler(SelectionUpdatedHandler handler)` Called when selection changes.

    - ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

      `fireEvent`

- - ### Method Detail

    - #### addSelectionUpdatedHandler

          com.google.gwt.event.shared.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