You need to sign in to do that
Don't have an account?
Mohit S.
Displaying one of the two concatenated field values as bold in VF table
How can I make the values of field CreatedBy.Name appear in bold, in following code?
<apex:pageBlockTable value="{!Case.CaseComments}" var="c">
<apex:column width="28%" headerValue="Date" value="{!c.createddate} ({!c.CreatedBy.Name})" />
</apex:pageBlockTable>
<apex:pageBlockTable value="{!Case.CaseComments}" var="c">
<apex:column width="28%" headerValue="Date" value="{!c.createddate} ({!c.CreatedBy.Name})" />
</apex:pageBlockTable>
All Answers
<apex:pageBlockTable value="{!Case.CaseComments}" var="c">
<apex:column width="28%" headerValue="Date">
{!c.createddate} ( {!c.CreatedBy.Name})
</apex:column?
</apex:pageBlockTable>
<apex:pageBlockTable value="{!Case.CaseComments}" var="c">
<apex:column width="28%" headerValue="Date">
{!c.createddate} <b> {!c.CreatedBy.Name} </b>
</apex:column>
</apex:pageBlockTable>
Amit & Abu, it worked your ways too, however the date format it took was too long - Fri Sep 25 14:31:15 GMT 2015 (Tim Cook) instead of 11/13/2015 7:47 AM (Tim Cook). How can we shorten the date format as required?
https://developer.salesforce.com/forums/?id=906F00000005KGYIA2