Page 1 of 1

[REACT] Disable creation of new events

Posted: Fri Feb 03, 2023 12:24 pm
by burnit

Hi,

is it possible to disable creation of new events? I have already disabled the scheduleMenuFeature addEvent, but we are still able, by clicking into the scheduler, to create new events over the UI.

Many thanks,

André


Re: [REACT] Disable creation of new events

Posted: Fri Feb 03, 2023 1:34 pm
by tasnim

Hello,

is it possible to disable creation of new events? I have already disabled the scheduleMenuFeature addEvent, but we are still able, by clicking into the scheduler, to create new events over the UI.

To disable the event creation on double click, you need to set https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-createEventOnDblClick to false

And If you want to disable event creation by dragging. Then you need to disable https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventDragCreate feature

Hope it helped.

If you have any other questions, Please don't hesitate to ask.


Re: [REACT] Disable creation of new events

Posted: Fri Feb 03, 2023 2:09 pm
by burnit

Yes, that worked! Thank you very much!