Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
how can i change someone table cell font color on the detail row script ?
NOSTALGY
<p>dear all,</p>
<p> </p>
<p>how can i change someone table cell font color on the <strong>detail row script </strong>?</p>
<p> </p>
<p>example.</p>
<p> </p>
<p>table header A B C D E </p>
<p>table detail [A]
[C] [D] [E] </p>
<p>table footer</p>
<p> </p>
<p> </p>
<p><strong>detail script </strong></p>
<p> </p>
<div>if (vars["countA"]==1)</div>
<div>{</div>
<div> <span style="color:#ff0000;">[A].</span>getStyle().color = "black" ; </div>
<div> <span style="color:#ff0000;">[D]</span>.getStyle().color = "black" ; </div>
<div> <span style="color:#ff0000;">[E]</span>.getStyle().color = "black" ; </div>
<div>}</div>
<div> </div>
<div> </div>
<div>i don't know how to control each detail cell on the <strong>detail script </strong>?</div>
<div> </div>
<div>thanks a lot!!!!!!</div>
<p> </p>
Find more posts tagged with
Comments
pricher
<p>Hi,</p>
<p> </p>
<p>Do you really need to script here? Based on your question, you can probably add the desired functionality by adding a Highlight rule on the data element or the cell that contains it. Simply select the data element or the cell in your report design and add a rule in the Highlights area of the property editor, as indicated in the screenshot below.</p>
<p> </p>
<p>If you have tried that before and it doesn't work, try to explain why it doesn't work so we can take a better look at it.</p>
<p> </p>
<p>Regards,</p>
<p> </p>
<p>P.</p>
NOSTALGY
<p>hi pricher,</p>
<p> </p>
<p>it's very helpful to me~~</p>
<p> </p>
<p>thank you very much
</p>