function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
yibongleeyibonglee 

styleclass is not working in outputfield

I want to use styleclass attribute in outputField, but it's not working,
In outputText, it's working well...

if there's somebody to know the reason, let me know ~
thanks in advance..

Code:
                 <apex:column headerValue="Amount" headerclass="bold center">
<div name="subttl" class="right">{!itm.subtotal}</div>
<apex:facet name="footer">
<apex:panelGrid cellspacing="0" cellpadding="0" border="0">
<apex:outputField value="{!projectInstance.Agency_Compensation__c}" styleClass="right" />
<apex:outputField value="{!projectInstance.Amount__c}" styleClass="bold right" />
</apex:panelGrid>
</apex:facet>
</apex:column>


Message Edited by yibonglee on 12-01-2008 06:56 PM
RRC007RRC007

Try this:

 

 

<apex:facet name="footer"> <apex:outputPanel styleClass="ftpanel"> <apex:outputField value="!Account.Grand_Total_Opps_Contract_Value__c}" /> </apex:outputPanel> </apex:facet>