This is a migrated thread and some comments may be shown as answers.

Kendo Scheduler Month View to day view

1 Answer 392 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ramana
Top achievements
Rank 1
ramana asked on 01 Apr 2015, 08:04 AM
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..

1 Answer, 1 is accepted

Sort by
0
Accepted
Vladimir Iliev
Telerik team
answered on 02 Apr 2015, 10:05 AM
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!
 
Tags
Scheduler
Asked by
ramana
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or