Popup hide/sqow in same event

hi ll,

I try to show a temporary popup during long process

in the same event, i want to show it, have a long calculation javascript process, then hide it.

I tried, with no success


I must miss something

Please, try to use:

Hi sematik,

It’s not ok, i use sleep to simulate long process in javascript (so dont use the setTimeout function, it’s not the goal)

consider the updated snippet using promise


this don’t work, it hide first and then show

do you have an idea ? thx

For those who need it,
solved by using event “afterShow” and dhx.awaitRedraw


1 Like