You need to sign in to do that
Don't have an account?
Daljeet Singh
Help is needed on the below code.
<apex:pageblockTable id="JobList1" value="{!searchResultsRows}" var="src" >
<apex:repeat value="{!src.searchRow}" var="row">
<apex:column >
<apex:facet name="header"><apex:outputLabel value="{!row.label}" /></apex:facet>
<apex:outputText value="{!row.columnValue}"/>
</apex:column>
</apex:repeat>
</apex:pageblockTable>
The header value is not getting populated can anyone please help me on that ....
Can you post the controller code ?
Thanks.
Hi,
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Column headers need to be independent of the row. I suspect when the header value is being computed, src does not have a value (and hence row and row.label don't have a value). I'd have expected some kind of error message, but maybe ity just uses an empty string in this situation. Can you rework your controller to get at the column labels in a way that is not dependent on the row?