+ Start a Discussion
p_282p_282 

Dynamically change the colour

Hi

 

I have 2 custom objects (assume total fields 200) where  im pulling the data (only filled ) into PDF.

Here my requirement is,  i filled 40 fields so in PDF only 40 fields info will be available.

I have updated more 10 fields total 50 fields.

I need 10 fields data in Bold or different color in PDF.

 

Please advise the possible workaround to achieve it.

 

Thanks in Advance

 

SurekaSureka
Hi,

Try this:

<apex:outputLabel value="{!account.name}" style="color:blue"/>
<apex:outputText value="{!account.name}" style="color:blue"/>


Thanks
RockDeveloperRockDeveloper

Apply css style to outputtext or outputfield.