Edit this page

resizeEnd

Fired when the user releases the mouse after resizing 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 final start date of the resized task.

e.end Date

The final end date of the resized task.

e.event kendo.data.SchedulerEvent

The event which is being resized.

e.slot Object

The slot over which the event is resized to.

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 resize action.

e.sender kendo.ui.Scheduler

The widget instance which fired the event.

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

Example - subscribe to the "resizeEnd" event after initialization

<div id="scheduler"></div>
<script>
function scheduler_resizeEnd(e) {
  console.log("Resize End", 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("resizeEnd", scheduler_resizeEnd);
</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