EasyUI Forum
June 27, 2024, 02:08:17 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: progressbar not updating  (Read 4564 times)
JeroenNL
Newbie
*
Posts: 37


View Profile
« 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
Logged
jarry
Administrator
Hero Member
*****
Posts: 2267


View Profile Email
« Reply #1 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!