Kendo Scheduler Month View to day view

2 posts, 1 answers
  1. ramana
    ramana avatar
    3 posts
    Member since:
    Apr 2015

    Posted 01 Apr 2015 Link to this post

    In month view when i clicked on more(...) button for a particular day,scheduler is switching to day view.
    I want to know what are the events that triggered when more(..) button is clicked.I want this beacuse in day view i want to bind some exceptions.
    Thanks in advance..
  2. Answer
    Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2196 posts

    Posted 02 Apr 2015 Link to this post

    Hello Ramana,


    When the user clicks on the "show more" button inside the "month" view only the "navigate" event of the scheduler is triggered. You can use that event to track when if current view is "month" and the view for navigation is "day" to execute your custom logic:

    $("#scheduler").kendoScheduler({
      navigate: function(e) {
        if (this.view().name === "month" && e.view === "day") {
          alert("View is changed from month to day");
        }
      },

    Another option is to attach custom "click" event handlers to the elements with ".k-more-events" class inside the "month" view.

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top