New to Kendo UI for jQueryStart a free 30-day trial

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:uidString

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.

<button id="uid">Get Event By Uid</button>
<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",
      },
    ],
  });

  $("#uid").click(function () {
    var scheduler = $("#scheduler").data("kendoScheduler");
    var uid = scheduler.wrapper.find(".k-event:last").data("uid");
    var event = scheduler.occurrenceByUid(uid);
    console.log(event);
  });
  /* The result can be observed in the DevTools(F12) console of the browser. */
</script>
Not finding the help you need?
Contact Support