cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

change color of Text Widget during Runtime

e2tech_ravi
Discoverer
0 Likes
2,137

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

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
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.