com.smartgwt.client.widgets.grid.events

## Interface HasRemoveRecordClickHandlers

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

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.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 Detail

    - #### addRemoveRecordClickHandler

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