public interface HasRemoveRecordClickHandlers extends HasHandlers
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addRemoveRecordClickHandler(RemoveRecordClickHandler handler)
Handler fired when the user clicks the "remove" icon if
canRemoveRecords is true. |
fireEvent
HandlerRegistration addRemoveRecordClickHandler(RemoveRecordClickHandler handler)
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.
handler
- the removeRecordClick handlerHandlerRegistration
used to remove this handler