You need to sign in to do that
Don't have an account?
Marc Pannenberg
Formatting issues in Visual Force for column headers
Hi,
I've built a matrix of PageBlockTables with a bunch of values in the columns and the totals in the header. Now for the problems:
didn't work. It simply displays the string "€
Still trying to work out a few other issues I'm experiencing, but those would be a great help already!
Thanks for your help!
Marc
I've built a matrix of PageBlockTables with a bunch of values in the columns and the totals in the header. Now for the problems:
- How do I format the header? None of my efforts to get the column header to align on the right hand side of the column has had any effect.
- How do I display a currency symbol in the header?
Code:
<apex:facet name="header">€{!totalCAssets}</apex:facet> OR <apex:column style="text-align:right" headerstyle="text-align:right" width="25%" headerValue="€{!totalCAssets}">
didn't work. It simply displays the string "€
Still trying to work out a few other issues I'm experiencing, but those would be a great help already!
Thanks for your help!
Marc
Message Edited by jlo on 10-23-2008 05:01 PM
All Answers
You can try this.
<apex:column>
<apex:facet name="header">
<B>&euro</B>
</apex:facet>
{!list.Status__c}</apex:column>
Thanks
Srini
I ended up writing my own code in the controller that converts Double to String while formatting it the way currencies are displayed in sfdc. That way I don't have to worry about logic on the VPage should this ever move to multi-currency.
Thanks again for your help!
Marc
I'm facing a similar problem in getting a Double to present nicely with 2 decimal places, comma seperators for thousands etc.
Would you mind showing the code you used to do this with your currency example?
Regards
Vaughan
Message Edited by jlo on 10-23-2008 05:01 PM
Hi,
I'm also facing with this issue and thanks for your solution.
Regards!
Anyone know if there's been any movement at SF torward making visualforce friendly with Advanced Multicurrency support (e.g. the issue above)?
- Ron