Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy