Project

General

Profile

Support #7740

Updated by Korneel Dumon over 1 year ago

Trying to change progress bar progress color based on progress value.   
   
 But i see it has no immediate effect. It requires page refresh.   
   
 Is it supposed to be like this or I am doing something wrong?   
   
 Please see below : 

 

 > auto style = VELOCITY\_MODEL.Overrange() ? "progress bg-danger-Polytec" : "progress bg-info-polytec";   
   
 > m\_velocityProgressBar->setValueStyleClass(style);   
   
 > Wt::WApplication::instance()->triggerUpdate(); 
 

Back