Hi,
i got my calendar where some events are not editable.
Problem is that when i make double click for watching lightbox with details, then shows me lateral bar with icons for deleting and updating text, even i can change text in even bar althougt it doenst change in DB.
I think that when event is readonly in lateral bar must show only icon for show details, is is possible?
Thanks in advance
Hi,
this behavior should be altered on a client-side. You can add following code after initialization of the scheduler
JS:
scheduler.attachEvent("onClick",block_readonly)
scheduler.attachEvent("onBeforeDrag",block_readonly)
function block_readonly(id){
if (!id) return true;
return !this.getEvent(id).readonly;
}
It will prevent drag and drop of readonly events and prevent selection menu from showing for such events