You need to sign in to do that
Don't have an account?
GerhardNewman2
This code results in the last column having the header left justified and the value right justified. I want both header and value to be right justified (RTL). Have I done this wrong or is it a bug?
Message Edited by GerhardNewman2 on 06-06-2008 12:35 AM
apex:column headerdir="RTL" does not seem to work
Code:
<apex:pageBlock title="Lost Opportunites"> <apex:pageBlockTable value="{!LostOpportunities}" var="aOpportunity" width="100%" > <apex:column headervalue="Opportunity Name" value="{!aOpportunity.Name}"/> <apex:column headervalue="Stage" value="{!aOpportunity.Stagename}"/> <apex:column headerdir="RTL" headervalue="Net Revenue" dir="RTL" value="{!aOpportunity.Sum_Net_Revenue__c}"/> </apex:pageBlockTable > </apex:pageBlock>
This code results in the last column having the header left justified and the value right justified. I want both header and value to be right justified (RTL). Have I done this wrong or is it a bug?
Message Edited by GerhardNewman2 on 06-06-2008 12:35 AM
- Patrick
if your values are fairly predictable.
<br> .columnHeader {<br> font-size: 1em;<br> font-weight: bold;<br> text-align: right;<br> }<br><style><br><br><apex:column value="{!vol.BTD__c}" dir="RTL" headerclass="columnHeader"/>