Is it possible to set a custom view to ReadOnly? How?
Thank you.
Is it possible to set a custom view to ReadOnly? How?
Thank you.
Hi,
you can do it with the client-side code. Try to attach ‘onBeforeViewChange’ event, and set scheduler readonly when custom view is getting selected
code may look like this
scheduler.attachEvent("onBeforeViewChange", function (old_mode, old_date, mode, date) {
if (mode == "day")
scheduler.config.readonly = true;
else
scheduler.config.readonly = false;
return true;
});