[Bug] after deleteTask, dataProcessor.autoUpdate is true

after calling gantt.deleteTask gantt.dataProcessor.autoUpdate is unintentionally set as true. You can try it on official sample: docs.dhtmlx.com/gantt/samples/07 … rting.html

open console and paste following:

var dp = new gantt.dataProcessor("http://example.com");
dp.init(gantt);
dp.setTransactionMode("REST");
dp.autoUpdate = false;
console.log(dp.autoUpdate)// prints false
gantt.deleteTask(6)
console.log(dp.autoUpdate)// prints true and after that point auto update really active

after calling gantt.deleteTask auto update is really active and works where as it shouldn’t.

Hello.

You shouldn’t set autoUpdate property manually. In this case you could try to use “setUpdateMode” dataProcessor function.
See article:
docs.dhtmlx.com/api__dataproces … emode.html
You could use “off” mode to prevent data sending with dataProcessor.

dp.setUpdateMode(‘off’) did the trick. our bad, we missed that part on docs. thanks.