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)
Changing cell style during report rendering
Abdel
Hi all,
I have a cross tab with both row and column grouping.. My requirement is that I need to highlight certain column header in my column grouping.. lets say I have 5 columns AB,AC,DC,DD and DX .. I need to hilight DC and DX with a different color..
How do I change the color, font or other properties when the report is rendered? Can anybody give me some ideas how to apply a style to the cell dynamically? I need to retain the existing style like background color etc.. Only need to make the text BOLD and change color..
Thanks in advance,
Abdel Olakara
Find more posts tagged with
Comments
mwilliams
Hi Abdel,
You can click on the column header and go to the script tab and to the onCreate method and put something like the following:
if (this.getValue() == "DC"){
this.getStyle().color = "red";
}
There are many othe properties that can be set within this.getStyle() as well.
Hope this helps.