removeEvent

Removes the specified scheduler event.

Parameters

event String|kendo.data.SchedulerEvent

The event which should be removed. Also accepts a string which is the uid of the event which should be removed.

Example - remove an event

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview"
    }
  ]
});
setTimeout(function(){
  var scheduler = $("#scheduler").data("kendoScheduler");
  var event = scheduler.dataSource.at(0);
  scheduler.removeEvent(event);
})    
</script>
In this article