You need to sign in to do that
Don't have an account?
Salesforce Beginner
Splitting Apex column to two sub columns
Hello Guys,
I am trying to split Apex column into two sub columns. How do we do this in VisualForce.
I am using the below code :
<apex:pageBlockTable border="true" align="center" value="{!lstwrapper}" var="x" >
<apex:column headerValue="Admin Ticket" style="text-align:center" colspan="2">
</apex:column>
<apex:column headerValue="Answer Sheet" style="text-align:center" colspan="2">
</apex:column>
<apex:column headerValue="Exam Book" style="text-align:center" colspan="2">
</apex:column>
</apex:pageBlockTable>
I need two sub columns under 3 main columns.
Ex: Admin Ticket
AM PM
I am trying to split Apex column into two sub columns. How do we do this in VisualForce.
I am using the below code :
<apex:pageBlockTable border="true" align="center" value="{!lstwrapper}" var="x" >
<apex:column headerValue="Admin Ticket" style="text-align:center" colspan="2">
</apex:column>
<apex:column headerValue="Answer Sheet" style="text-align:center" colspan="2">
</apex:column>
<apex:column headerValue="Exam Book" style="text-align:center" colspan="2">
</apex:column>
</apex:pageBlockTable>
I need two sub columns under 3 main columns.
Ex: Admin Ticket
AM PM
<apex:repeat value="{!lstwrapper}" var="x" >
<table>
<tr >
<th colspan="2">Admin Ticket</th>
</tr>
<tr>
<th>AM</th>
<th>pm</th>
</tr>
</table>
</repeat>
thanks
shashi
All Answers
<apex:repeat value="{!lstwrapper}" var="x" >
<table>
<tr >
<th colspan="2">Admin Ticket</th>
</tr>
<tr>
<th>AM</th>
<th>pm</th>
</tr>
</table>
</repeat>
thanks
shashi
" Collection size 1,066 exceeds maximum size of 1,000. "
Did not understand the error as the List / Map can hold 10000 items (my understanding).