I believe you're looking for https://bryntum.com/products/gantt/docs/api/Core/mixin/Events#function-suspendEvents
Support Forum
I see no sync
event triggered when I changed backgroundColor
using the code you provided.
I tried here https://bryntum.com/products/gantt/examples/advanced/
I added sync url and enabled autoSync
, but still I don't see any events.
What's your gantt.project.changes
object contains after you changed the background?
Please apply required changes to one of our examples to make possible reproduce the issue and attach code here. it will help us to assist you with this question.
All the best,
Alex
Hello,
readOnly
is the regular taskRecord's field. Any change of task record will initiate sync, if autoSync
enabled.
To ignore changes for readOnly
field, you could configure the taskModel and set https://bryntum.com/products/gantt/docs/api/Core/data/field/DataField#config-persist to false