Home
Analytics
Aply different style to output columns inside a Dynamic Text
Axel00
<p>I'm trying to make a report with a text like bellow, where output columns have different style (color) than the rest of the text. </p>
<p> </p>
<p> </p>
<p>text text text <span style="color:rgb(255,0,0);">word </span>text text text </p>
<p> </p>
<p> </p>
<p>using dynamic text I get : "text " + row["word"] + "text " and the whole text with te same style<br>
is there a way to customize row["word"] style? </p>
<p> </p>
<p>I hope I've explained myself well </p>
<p> </p>
<p>thanks</p>
Find more posts tagged with
Comments
Zorawar
<p>Dynamic text allows the use of HTML tags within it when the content type is set to HTML.</p>
<p>So, it is possible to do</p>
<p> </p>
<p style="margin-left:40px;"><span style="font-size:12px;"><span style="font-family:'courier new', courier, monospace;">'text ' + '<span style="color:#ff0000">' + row["word"] + '</span>' + 'text '</span></span></p>
<p> </p>
<p>See, <a data-ipb='nomediaparse' href='
http://help.eclipse.org/kepler/index.jsp?topic=/org.eclipse.birt.doc/birt/txt-HowToUseADynamicTextElement.html'>http://help.eclipse.org/kepler/index.jsp?topic=/org.eclipse.birt.doc/birt/txt-HowToUseADynamicTextElement.html</a></p>
;
Axel00
<p>Thank you!</p>