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)
Hight specific text in colour in a plian text displayed in Lable or Text
sriram nagappan
<p>Hi Team,</p>
<p> </p>
<p>I have some plain text which needs to be show in the report. I am using Text or Label element to display the plain text. My requirement is that i need to display some specific words in yellow colour. When i try to highlight the specific text and change the colur, the entire text is changing to yellow colour. Can you please help.</p>
Find more posts tagged with
Comments
Clement Wong
<p>Unfortunately, you are not able to do this in the UI. However, you can use a Text Report Item and use HTML markup. </p>
<p> </p>
<p>Change the format from Auto to HTML, and you can do one of the following as an example:</p>
<p style="margin-left:40px;"><br><span style="font-family:'courier new', courier, monospace;">This is text is <mark>highlighted</mark>.</span></p>
<p style="margin-left:40px;"> </p>
<p style="margin-left:40px;"><span style="font-family:'courier new', courier, monospace;"><span style="font-family:'courier new', courier, monospace;">This is also <span style="background-color: #FFFF00;">highlighted</span>. But I am not.</span></span></p>
<p style="margin-left:40px;"> </p>
<p style="margin-left:40px;"> </p>
<p>The first tag with <mark> will not convert in PDF, but the <span> will. </p>