EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: JeroenNL on October 25, 2015, 11:53:13 AM



Title: progressbar not updating
Post by: JeroenNL on October 25, 2015, 11:53:13 AM
Hello,

I'm trying to get a progressbar up and running in a dialog. Somehow, it is not updating on screen when I set the value in code using: $("#pb").progressbar('setValue', progress);

The onChange function is firing but the UI is not updating.

Do I need to set a timer to wait for a little while so the UI thread can catch up or something?

Cheers,
Jeroen


Title: Re: progressbar not updating
Post by: jarry on October 25, 2015, 03:11:44 PM
Please refer to http://www.jeasyui.com/demo/main/index.php?plugin=ProgressBar&theme=default&dir=ltr&pitem=Basic, the setValue method works fine.