expand

Expands the event for a specific period based on the recurrenceRule option.

Parameters

start Date

The start date of the occurrence period.

end Date

The end date of the occurrence period.

timeZoneId String

The time zone ID used to convert the recurrence rule dates.

Returns

Array list of occurrences.

Example - get the occurrences

<script>
var event = new kendo.data.SchedulerEvent({
    id: 1,
    title: "Lunch",
    start: new Date("2013/4/4 12:00"),
    end: new Date("2013/4/4 13:00"),
    recurrenceRule: "FREQ=DAILY"
});

var occurrences = event.expand(new Date("2013/4/4"), new Date("2013/5/4"), "Etc/UTC");
</script>
In this article