Package com.smartgwt.client.widgets.grid.events

# Interface HasRemoveRecordClickHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `CalendarView`, `CubeGrid`, `DateGrid`, `EditTree`, `ListGrid`, `ListPalette`, `Menu`, `MenuPalette`, `PickListMenu`, `RecordEditor`, `SelectionTreeMenu`, `TableView`, `TreeGrid`, `TreePalette`

public interface HasRemoveRecordClickHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addRemoveRecordClickHandler(RemoveRecordClickHandler handler)`
  Handler fired when the user clicks the "remove" icon if `canRemoveRecords` is true.

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

  `fireEvent`

- ## Method Details

  - ### addRemoveRecordClickHandler

    HandlerRegistration addRemoveRecordClickHandler(RemoveRecordClickHandler handler)
    Handler fired when the user clicks the "remove" icon if `canRemoveRecords` is true. Default behavior will remove the record from the data set, or if we're `deferring removal` mark the record as removed [or for records already marked as removed, clear this removed marker].

    If `warnOnRemoval` is set, this method will also show a warning dialog to users allowing them to cancel the removal.

    This event may be cancelled to suppress the default behavior.

    Parameters:
      `handler` - the removeRecordClick handler
    Returns:
      `HandlerRegistration` used to remove this handler