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:
dhx.awaitRedraw().then(function() {
// your code here
})
Related sample: Helpers. Await Redraw. Initialization
Back to top