Our pure JavaScript Scheduler component


Post by jorgeduarterekyl »

Hello,

wanted to know if there is any way to disable the manual creation of tasks only allowing tasks to be dragged from the unassigned tasks list into the grid.

Thank you
Jorge Duarte.


Post by ghulam.ghous »

Hey Jorge,

Do you want to disable event creation by double click or drag? If yes, disable these two features on scheduler:

https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventDragCreate

eventDragFeature: false

and for double click event creation, set this to false: https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/SchedulerBase#config-createEventOnDblClick

createEventOnDblClick : false

Post by jorgeduarterekyl »

yes it was that.

Another question I have, is it possible for me to keep a field in the taskEdit but disable it so people won't change it?
For example the name of the task. Can I keep it so people know what are they editing but make it as disabled field so no one can change it.

thank you for the fast answer.


Post by alex.l »

All the best,
Alex Lazarev

How to ask for help? Please read our Support Policy

We do not write the code in bounds of forum support. If you need help with development, contact us via bryntum.com/services


Post Reply