public interface HasRecordContextClickHandlers extends HasHandlers
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addRecordContextClickHandler(RecordContextClickHandler handler)
Executed when the tileGrid receives a context-click (right mouse button) event on a tile.
|
fireEvent
HandlerRegistration addRecordContextClickHandler(RecordContextClickHandler handler)
A record event handler can be specified either as a function to execute, or as a string
of script to evaluate. If the handler is defined as a string of script, all the parameters below will be available as
variables for use in the script.
If you want to cancel the click based on the parameters, Call RecordContextClickEvent.cancel()
from within RecordContextClickHandler.onRecordContextClick(com.smartgwt.client.widgets.tile.events.RecordContextClickEvent)
. Otherwise,
return true so that the click event be registered with the tile.
handler
- the recordContextClick handlerHandlerRegistration
used to remove this handler