Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Clicking event from "monthMoreEventsLinkClick" menu not honoring EventClickHandler.

    Hi Isomorphic,

    We have a month view Calendar with a custom EventClickHandler, as defined below.

    Code:
            addEventClickHandler(new EventClickHandler() {
                @Override
                public void onEventClick(CalendarEventClick event) {
                    CalendarEvent ce = event.getEvent();
                    event.cancel();
                    // Show our own window for clicked event.
                }
            });
    When we click an Event, for a particular day in the month, it shows our own window, as defined by our EventClickHandler.

    However, if we click the "+ 6 more...", the context-menu appears with the remaining Events. Clicking one of the Events in the context-menu opens the standard Event dialog. Our EventClickHandler is not being honored here.

    Thanks

    SmartClient Version: v10.1p_2016-04-20/Pro Deployment (built 2016-04-20)

    #2
    We've re-wired this such that your click handler will now fire appropriately.

    Note, however, that you if you're just showing a custom Dialog, then you should probably just be installing an Event[Dialog/Editor]Customizer instead - those are in effect whenever a dialog or editor is shown, irrespective of the mechanism that shows it.

    Comment


      #3
      Thank you

      Comment

      Working...
      X