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

# Interface DayBodyClickHandler

All Superinterfaces:
  `EventHandler`

public interface DayBodyClickHandler extends EventHandler

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onDayBodyClick(DayBodyClickEvent event)`
  Called when the body area of a day in the month view is clicked on, outside of any links to a particular event.

- ## Method Details

  - ### onDayBodyClick

    void onDayBodyClick(DayBodyClickEvent event)
    Called when the body area of a day in the month view is clicked on, outside of any links to a particular event.

    By default, if the user can add events, shows a dialog for adding a new event for that day. Call `DayBodyClickEvent.cancel()` from within `onDayBodyClick(com.smartgwt.client.widgets.calendar.events.DayBodyClickEvent)` to cancel this action.

    Note that, when `otherDayClickNavigation` is true, the calendar will first navigate the Month view to the selected month, before showing the Event Editor dialog at the proper location.

    Not called if the day falls outside the current month and `showOtherDays` is false.

    Parameters:
      `event` - the event