com.smartgwt.client.widgets.calendar.events

## Interface HasEventClickHandlers

- All Superinterfaces:
    HasHandlers
  All Known Implementing Classes:
    Calendar, Timeline

      public interface HasEventClickHandlers
      extends HasHandlers

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `HandlerRegistration` | `addEventClickHandler(EventClickHandler handler)` Called whenever an event is clicked on in the day, week or month views.

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

      `fireEvent`

- - ### Method Detail

    - #### addEventClickHandler

          HandlerRegistration addEventClickHandler(EventClickHandler handler)

      Called whenever an event is clicked on in the day, week or month views.

      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.

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