Edit this page

moveStart

Fired when the user starts to drag an event.

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

Event Data

e.event kendo.data.SchedulerEvent

The event which is being moved.

e.preventDefault Function

If invoked prevents the move action.

e.sender kendo.ui.Scheduler

The widget instance which fired the event.

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

Example - subscribe to the "moveStart" event after initialization

<div id="scheduler"></div>
<script>
function scheduler_moveStart(e) {
  console.log("Move Start", e.event.title);
}
$("#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("moveStart", scheduler_moveStart);
</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