Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Highlight - background-image
dodane
Hi,
I want to insert a background-image when I have a specific value, in ma detail table. So, I use the highlight to compare the value, and put the style. But, it doesn't run. If I modify border or font-size, no problem!
When I apply the style on the cell by default, no problem too, the background-image is displaying.
I don't understand, did you already had this strange problem?? What do you think about this?
Find more posts tagged with
Comments
mwilliams
Hi dodane,
You've probably already solved this issue, but if you're tying to change the background image on a cell based on a value of the cell, you should be able to put something like the following in the onCreate script of the cell:
if (row["fieldName"] == checkValue){
this.getStyle().backgroundImage = "image.png";
}