cancel
Showing results for 
Search instead for 
Did you mean: 

change color of Text Widget during Runtime

e2tech_ravi
Discoverer
0 Kudos
1,220

Hi ,

Can we change color of Text Widget in SAP Analytic Application in SAC ?

Not able to find any method to change through script during runtime.

View Entire Topic
avsalynin
Active Contributor

e2tech.ravi

if it is still relevant for you, then at the moment the easiest option is:

Text_1.setStyle({color:'green'});

there is also an option through CSS and class setCssClass.

Steve_Letza
Explorer
0 Kudos
cheers, the in-app help on this is actually pretty good, but this (an example of how to set the colour) is what it's missing.