Disable auto update

Hello, we are using gantt 7.1.13.
We would like a toggle to turn on or off auto save to speed up interaction.
Can you tell me please how we can implement this ? Maybe there is some kind of system configuration?
Thank you.

Hello Andrii,
It depends on what you mean by auto save.

If you use the Data Processor to send the changes to the server, you can disable sending the data if you return false in the onBeforeUpdate event handler:

If you update the task objects, you don’t need to use the updateTask or refreshTask methods if you don’t want to repaint the changes.

If you update tasks from the lightbox or inline editors, you cannot disable updating tasks unless you cancel the changes.

If you want to update several tasks and repaint the changes only once, you can put your code inside the batchUpdate method: