dataBinding

Fired before the widget binds to its data source.

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

Event Data

e.sender kendo.ui.Scheduler

The widget instance which fired the event.

Example - subscribe to the "dataBinding" 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"
    }
  ],
  dataBinding: function(e) {
    console.log("dataBinding");
  }
});
</script>

Example - subscribe to the "dataBinding" event after initialization

<div id="scheduler"></div>
<script>
function scheduler_dataBinding(e) {
    console.log("dataBinding");
}
$("#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("dataBinding", scheduler_dataBinding);
</script>
In this article
Not finding the help you need?