moveEnd

Fired when the user stops moving an event.

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

Event Data

e.start Date

The start date of the dragged range.

e.end Date

The end date of the dragged range.

e.event kendo.data.SchedulerEvent

The event which is being moved.

e.slot Object

The slot over which the event is currently positioned.

e.slot.element jQuery

The slot's element.

e.slot.start Date

The slot's start date.

e.slot.end Date

The slot's end date.

e.preventDefault Function

If invoked prevents the move action.

e.resources Object

The resources for the slot if resource grouping is enabled.

e.sender kendo.ui.Scheduler

The widget instance which fired the event.

Example - subscribe to the "moveEnd" 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"
    }
  ],
  moveEnd: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log("MoveEnd", e.slot.start);
  }
});
</script>

Example - subscribe to the "moveEnd" event after initialization

<div id="scheduler"></div>
<script>
function scheduler_moveEnd(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log("MoveEnd", e.slot.start);
}
$("#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("moveEnd", scheduler_moveEnd);
</script>
In this article