public interface HasEventClickHandlers extends HasHandlers
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addEventClickHandler(EventClickHandler handler)
Called whenever an event is clicked on in the day, week or month views.
|
fireEvent
HandlerRegistration addEventClickHandler(EventClickHandler handler)
By default a dialog appears showing details
for the event, and offering the ability to edit events which are editable. Call CalendarEventClick.cancel()
from within EventClickHandler.onEventClick(com.smartgwt.client.widgets.calendar.events.CalendarEventClick)
to cancel the default action.
This is a good place to, for example, show a completely customized event dialog instead of the default one.
handler
- the eventClick handlerHandlerRegistration
used to remove this handler