AwaitRedraw

DHTMLX AwaitRedraw is a helper that allows implementing specified actions for a component as soon as possible after it is redrawn.

The dhx.awaitRedraw helper returns a promise:

  • promise - (function) a function to be executed
dhx.awaitRedraw().then(function() {
    // your code here
})

Related sample:  Helpers. Await Redraw. Initialization

Back to top