I would like to add a “Save and Lock” button to the lightbox for my schedule… allowing the user to lock an event – make it read-only.
I’ve added the new button via schedule.Config.buttons_left.Add…, but am at a loss of what to do next. Looking to be pointed in the right direction.
You can set “event.locked = true” for event object ( assuming that you have related field in database and server side configuration as well )
Also, to prevent editing of such events, you can add onBeforeEventChanged handler, that can check is event object has locked property and return false to prevent such event modification.