public interface HasSelectionChangedHandlers
extends com.google.gwt.event.shared.HasHandlers
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addSelectionChangedHandler(SelectionChangedHandler handler)
Called when (row-based) selection changes within this grid.
|
com.google.gwt.event.shared.HandlerRegistration addSelectionChangedHandler(SelectionChangedHandler handler)
NOTE: For updating other components based on selections or
triggering selection-oriented events within an application, see the selectionUpdated()
event which is likely more suitable.
Calls to getSelection()
from within this event may not
return a valid set of selected records if the event has been triggered by a call to selectAllRecords()
or deselectAllRecords()
- in this case use the selectionUpdated()
event instead.
handler
- the selectionChanged handlerHandlerRegistration
used to remove this handler