How to stop a Grid from auto-refreshing

I start the update Dp.setAutoUpdate(1000);
But sometimes you gotta stop

I found a way to kill all timers, but I think it’s not right

var highestTimeoutId = setTimeout(";");
for (var i = 0 ; i < highestTimeoutId ; i++) {

Unfortunately there is no legal solution to stop the auto updating. I can only suggest you to reinit your dataprocessor without an auto update mode.

The most interesting thing is that sometimes the first request to update the data passes without specifying the version of the grid data. And because of this, erroneous data gets into the table.