Hi, I want to disable any manipulations to a read only event, but the scheduler itself is not read only. Read only is working such that the changes aren’t saved, but you can still open and drag the event around and then it saves as a separate event, that does not work. Any suggestions or is this not possible?
scheduler.templates.event_class = function(start,end,ev){
if(ev.doctor_id==doc_id){
scheduler.getEvent(ev.id).readonly_form = true;
scheduler.getEvent(ev.id).readonly =true;
return ‘doctor_schedule’;
}else{
return ‘’;
}
};