changing text foreground color in dashboard advanced formatting

641
2
Jump to solution
02-23-2022 01:08 AM
Labels (3)
Fab_the_lab
New Contributor III


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
New Contributor III

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
Occasional Contributor III

Have you tried textColor?

0 Kudos
Fab_the_lab
New Contributor III

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!