views.editable Boolean|Object
(default: true)
If set to true
the user would be able to create new scheduler events and modify or delete existing ones.
Overrides the editable option of the scheduler.
Example - disable view editing
<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
date: new Date("2013/6/6"),
views: [
{
type: "day",
editable: false
},
],
dataSource: [
{
id: 1,
start: new Date("2013/6/6 08:00 AM"),
end: new Date("2013/6/6 09:00 AM"),
title: "Interview"
}
]
});
</script>
views.editable.create Boolean
(default: true)
If set to true
the user can create new events. Creating is enabled by default.
Example - disable event creating
<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
date: new Date("2013/6/6"),
views: [
{
type: "day",
editable: {
create: false
}
},
],
dataSource: [
{
id: 1,
start: new Date("2013/6/6 08:00 AM"),
end: new Date("2013/6/6 09:00 AM"),
title: "Interview"
}
]
});
</script>
views.editable.destroy Boolean
(default: true)
If set to true
the user can delete events from the view by clicking the "destroy" button. Deleting is enabled by default.
Example - disable event deleting
<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
date: new Date("2013/6/6"),
views: [
{
type: "day",
editable: {
destroy: false
}
},
],
dataSource: [
{
id: 1,
start: new Date("2013/6/6 08:00 AM"),
end: new Date("2013/6/6 09:00 AM"),
title: "Interview"
}
]
});
</script>
views.editable.update Boolean
(default: true)
If set to true
the user can update events. Updating is enabled by default.
Example - disable event updating
<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
date: new Date("2013/6/6"),
views: [
{
type: "day",
editable: {
update: false
}
},
],
dataSource: [
{
id: 1,
start: new Date("2013/6/6 08:00 AM"),
end: new Date("2013/6/6 09:00 AM"),
title: "Interview"
}
]
});
</script>