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

Gets a list of event occurrences in specified time range.

The result is scoped to the current displayed view. Therefore, the specified range should be within the view's time range.

Parameters:startDate

The start date of the period.

endDate

The end date of the period.

Returns:Array

a list of scheduler events filtered by the specified start/end period.

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

  setTimeout(function(){
    var scheduler = $("#scheduler").data("kendoScheduler");

    var events = scheduler.occurrencesInRange(new Date("2023/7/5"), new Date("2023/7/10"));

    /* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(events);
  }, 1500)
</script>
Not finding the help you need?
Contact Support