disabled event when ev.status=Approved

Hi All,

How can i disable the event for edit when the ev.status=Approved at Month View?

Please advise.

Thank you.

Regards,
Micheale

Hello,
you can use ‘readonly’ extension and set readonly flag on event change, when it’s needed:
docs.dhtmlx.com/scheduler/readon … ificevents

or, you can catch events that invokes editing (like onBeforeDrag, onBeforeLightbox) and cancel them if event has ‘approved’ status
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/api__s … event.html