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.
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
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.
Hi,
Please read
https://bryntum.com/products/gantt/docs/guide/Gantt/customization/taskedit
https://bryntum.com/products/gantt/docs/api/Core/widget/TextField#config-readOnly
https://bryntum.com/products/gantt/docs/api/Core/widget/TextField#config-disabled
https://bryntum.com/products/gantt/docs/api/Gantt/feature/TaskEdit
Please always create a new thread for a new question to keep forum clean and consistent. Thank you!
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