Search code examples
dhtmlx-scheduler

How can I remove delete button from Dhtmlx Scheduler "onLightbox" event?


I added the following line in my "onLightbox" event but it doesn't do anything.

scheduler.config.buttons_right=[];

Solution

  • It need to be added before scheduler.init call ( outside of onLightbox event ) as this is a global configuration.