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

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
CubeGrid, ListGrid, ListGridField, ListGridSummaryField, Menu, TableView, TreeGrid, TreeGridField

public interface HasRecordClickHandlers
extends HasHandlers


Method Summary
 HandlerRegistration addRecordClickHandler(RecordClickHandler handler)
          Executed when this field is clicked on.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addRecordClickHandler

HandlerRegistration addRecordClickHandler(RecordClickHandler handler)
Executed when this field is clicked on. Note that if ListGrid.recordClick is also defined, it will be fired for fields that define a recordClick handler if the field-level handler returns true. Call RecordClickEvent.cancel() from within RecordClickHandler.onRecordClick(com.smartgwt.client.widgets.grid.events.RecordClickEvent) to prevent the grid-level handler from firing.

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