Colored labels in table
I'm having an issue with the widget script to color the labels in a table created by harikm007 in a previous post.
https://community.sisense.com/t5/build-analytics/colored-labels-in-table-widget/m-p/10780
I have successfully been able to implement the script. However, the color flashes quickly when I load the dashboard then disappears.
Any reason why or if I have to change the script?
HQ_Dev_Prod
Posted 1 year ago·Last reply 11 months ago
10 comments
Michalis Gregoriou
·11 months agoHello!
I am also trying something similar, but the solution provided is not working as expected :(
Any ideas Using version: 2025.3.0.226
TriAnthony
Tri Anthony
·11 months agoHi MikeGre,
I just tested the script on L2025.3.0.226 and it is working for me. Could you try increasing the delay (line 26 in the code above) from 10 to 30 (or more)? If it still doesn't work, would you be able to send a copy of your dashboard?
-Tri
Michalis Gregoriou
·11 months agoI tested it but nothing changed. Please find the dashboard attached
HQ_Dev_Prod
OP1 year agoHi DRay and TriAnthony
Yes! That delay worked perfectly. Thank y
ou!!
Is there a way to continue adding columns to the list so it is applied to multiple columns?
Tri Anthony
·1 year agoHi HQ_Dev_Prod,
Yes, you can use this script instead to apply the styles to multiple columns. I also noticed that script works as intended without the observer, so I removed that part of the script. Let me know if you run into any issues.
-Tri
HQ_Dev_Prod
OP1 year agoDRay
·1 year agoHi HQ_Dev_Prod,
I’m following up to see if the solution offered by TriAnthony worked for you.
If so, please click the 'Accept as Solution' button on the appropriate post. That way other users with the same questions can find the answer. If not, please let us know so that we can continue to help.
Thank you.