Skip to content

Commit 69fea45

Browse files
Add editRecurringMode option to the API.
1 parent 64cafe5 commit 69fea45

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

api/javascript/ui/scheduler.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,41 @@ If set to `true` the user can delete events from the view by clicking the "destr
442442
});
443443
</script>
444444

445+
### editable.editRecurringMode `String`
446+
447+
Recurring events edit mode. The available modes are: "dialog" (default), "series" and "occurrence".
448+
449+
#### Example - disable event deleting
450+
<div id="scheduler"></div>
451+
<script>
452+
$("#scheduler").kendoScheduler({
453+
date: new Date("2013/6/6"),
454+
editable: {
455+
editRecurringMode: "series"
456+
},
457+
views: [
458+
{ type: "day" }
459+
],
460+
dataSource: {
461+
data: [{
462+
id: 1,
463+
start: new Date("2013/6/5 8:00"),
464+
end: new Date("2013/6/5 10:00"),
465+
title: "my event",
466+
recurrenceRule: "FREQ=DAILY"
467+
}],
468+
schema: {
469+
model: {
470+
id: "id",
471+
fields: {
472+
id: {type: "number"}
473+
}
474+
}
475+
}
476+
}
477+
});
478+
</script>
479+
445480
### editable.move `Boolean` *(default: true)*
446481

447482
If set to `true` the scheduler allows event moving. Dragging the event changes the start and end time.

0 commit comments

Comments
 (0)