Package com.smartgwt.client.widgets.calendar.events

# Interface EventClickHandler

All Superinterfaces:
  `EventHandler`

public interface EventClickHandler extends EventHandler

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onEventClick(CalendarEventClick event)`
  Called whenever an event is clicked on in the day, week or month views.

- ## Method Details

  - ### onEventClick

    void onEventClick(CalendarEventClick event)
    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 that can be edited. Call `CalendarEventClick.cancel()` from within `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:
      `event` - the event