occurrenceByUid

Gets the event occurrence with the specified uid.

This method can return an occurrence (not part of the data source's data) part of a recurring series.

Parameters

uid String

The uid of the occurrence to look for.

Returns

kendo.data.SchedulerEvent the occurrence instance. Returns undefined if an occurrence with the specified uid is not found.

Example - get an occurrence from a recurring series

<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
  date: new Date("2013/6/6"),
  views: ["week"],
  dataSource: [
    {
      id: 1,
      start: new Date("2013/6/6 08:00 AM"),
      end: new Date("2013/6/6 09:00 AM"),
      title: "Interview",
      recurrenceRule: "FREQ=DAILY"
    }
  ]
});

var scheduler = $("#scheduler").data("kendoScheduler");
var uid = scheduler.wrapper.find(".k-event:last").data("uid");
var event = scheduler.occurrenceByUid(uid);

/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(event);
</script>
In this article