Home
Analytics
How to make a column value partially Bold
delta123
Hi All
I am a beginer of Birt. I am getting a very samll issue.
I having a colomn named CONTACTNAME in a table which having following code in expression builder
dataSetRow["CONTACTLASTNAME"]+" "+dataSetRow["CONTACTFIRSTNAME"]
I want that only CONTACTLASTNAME should be displayed in bold letters instead of whole column(CONTACTNAME).
i am attaching my rptdesign file over here...
plz go through my question and reply me soon.
Find more posts tagged with
Comments
PommePote
<blockquote class='ipsBlockquote' data-author="'delta123'" data-cid="82248" data-time="1314962401" data-date="02 September 2011 - 04:20 AM"><p>
Hi All<br />
I am a beginer of Birt. I am getting a very samll issue.<br />
I having a colomn named CONTACTNAME in a table which having following code in expression builder <br />
dataSetRow["CONTACTLASTNAME"]+" "+dataSetRow["CONTACTFIRSTNAME"]<br />
I want that only CONTACTLASTNAME should be displayed in bold letters instead of whole column(CONTACTNAME).<br />
<br />
i am attaching my rptdesign file over here...<br />
<br />
plz go through my question and reply me soon.<br /></p></blockquote>
<br />
Hi delta123,<br />
Maybe you could use the Text item (choose HTML) and try :<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<B><VALUE-OF>dataSetRow["CONTACTLASTNAME"]</VALUE-OF></B> <VALUE-OF>dataSetRow["CONTACTFIRSTNAME"]</VALUE-OF>
</pre>
<br />
PommePote
delta123
If I am taking Text Item then its not recognizing 'dataSetRow["CONTACTLASTNAME"]' and 'dataSetRow["CONTACTFIRSTNAME"]' in the string
<B><VALUE-OF>dataSetRow["CONTACTLASTNAME"]</VALUE-OF></B> <VALUE-OF>dataSetRow["CONTACTFIRSTNAME"]</VALUE-OF>
Plz let me know any other good solution. Its urgent plz..U can refer attached file.
Megha Nidhi Dahal
<blockquote class='ipsBlockquote' data-author="'delta123'" data-cid="82272" data-time="1315028412" data-date="02 September 2011 - 10:40 PM"><p>
If I am taking Text Item then its not recognizing 'dataSetRow["CONTACTLASTNAME"]' and 'dataSetRow["CONTACTFIRSTNAME"]' in the string <br />
<B><VALUE-OF>dataSetRow["CONTACTLASTNAME"]</VALUE-OF></B> <VALUE-OF>dataSetRow["CONTACTFIRSTNAME"]</VALUE-OF><br />
<br />
Plz let me know any other good solution. Its urgent plz..U can refer attached file.<br /></p></blockquote>
<br />
You must also set the content type of the text to HTML. Otherwise bind it to a new data and set it's type or use dynamic text if your expression is not getting resolved. <br />
<br />
Arpan