You need to sign in to do that
Don't have an account?

Missing header
Hi,
I have a apex repeat inside my pageblocktable, and for some reason my header's not showing up inside the repeat. Any ideas?
Thanks,
I have a apex repeat inside my pageblocktable, and for some reason my header's not showing up inside the repeat. Any ideas?
Thanks,
<apex:page controller="FiscalPivot_Class"> <apex:pageblock > <apex:pageblocktable value="{!completeRowList}" var="row"> <apex:column > <apex:outputtext >{!row.name}</apex:outputtext> </apex:column> <apex:repeat value="{!row.amountMap}" var="periodYear"> <apex:column> <apex:facet name="header">{!periodYear}</apex:facet> <apex:outputtext value="{0,number,###,###,##0}" ><apex:param value="{!row.amountMap[periodYear]}"/></apex:outputtext> </apex:column> </apex:repeat> <apex:column> <apex:facet: name="header">Total</apex:facet:> <apex:outputtext value="{0,number,###,###,##0}" ><apex:param value="{!row.lineTotal}"/></apex:outputtext> </apex:column> </apex:pageblocktable> </apex:pageblock> </apex:page>
All Answers
Column is not a child tag for the repeat, i have same scenario like this
Here is the snippet for your code.
let me know if you have any issues.
Thanks,
pRAMODH.
with
basically replacing looping through a map with looping through a list, the header works.