isRecurring
Checks whether the event is part of a recurring series.
Returns
Boolean
return true
if event is recurring.
Example - check whether an event is an occurrence
<script>
var event = new kendo.data.SchedulerEvent({
id: 0,
recurrenceId: 1, //id of the recurrence head event
title: "Task1",
start: new Date("2013/4/4"),
end: new Date("2013/4/4")
});
var event2 = new kendo.data.SchedulerEvent({
id: 1,
title: "Task1",
start: new Date("2013/4/4"),
end: new Date("2013/4/4"),
recurrenceRule: "FREQ=DAILY"
});
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(event.isRecurring()); //logs 'true'
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(event2.isRecurring()); //logs 'true'
</script>