Edit this page

Fired when the user changes the selected date, or view of the scheduler

The event handler function context (available via the this keyword) will be set to the widget instance.

Event Data

e.action String

Name of the action. Possible values are:

  • changeView - navigate to different view
  • next - navigate to next time period
  • previous - navigate to previous time period
  • today - select today's date
  • changeDate - a date is selected via the Calendar
e.date Date

Selected date

e.view String

Name of the view

e.preventDefault Function

If invoked prevents the action.

e.sender kendo.ui.Scheduler

The widget instance which fired the event.

Example - subscribe to the "navigate" event during initialization

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  views: [ "day", "month" ],
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ],
  navigate: function(e) {
    console.log("navigate", e.date);
  }
});
</script>

Example - subscribe to the "navigate" event after initialization

<div id="scheduler"></div>
<script>
function scheduler_navigate(e) {
  console.log("navigate", e.date);
}
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  views: [ "day", "month" ],
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ]
});
var scheduler = $("#scheduler").data("kendoScheduler");
scheduler.bind("navigate", scheduler_navigate);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy