Select to view content in your preferred language

changing text foreground color in dashboard advanced formatting

802
2
Jump to solution
02-23-2022 01:08 AM
Labels (3)
Fab_the_lab
Occasional Contributor


Hi,
in AGOL Dashboard advanced formatting section I can change the background color. But how can I also change the color of the foreground text?

Thanks!

Fab_the_lab_0-1645607290731.png

 

0 Kudos
1 Solution

Accepted Solutions
Fab_the_lab
Occasional Contributor

yes Kim , textColor doesnt'work for Table items.

Maybe I solved it:
.....

var MyCellData= 'xyz'
....
displayText: `<strong><font color="#ff0000">` + MyCellData   .....

Thanks a lot anyway!

View solution in original post

2 Replies
KimGarbade
Frequent Contributor

Have you tried textColor?

0 Kudos
Fab_the_lab
Occasional Contributor

yes Kim , textColor doesnt'work for Table items.

Maybe I solved it:
.....

var MyCellData= 'xyz'
....
displayText: `<strong><font color="#ff0000">` + MyCellData   .....

Thanks a lot anyway!