So I want to add a nested table for another table. I'm able to add table 2 as nested for table 1. I could do this by adding a pageblocktable table 2 inside the last column of the pageblocktable of table 1(the parent table). Following is my code...
<apex:pageblocksection title="Order Lines" showheader="true" collapsible="true" columns="1">
<apex:pageBlockTable value="{!gp.ct}" var="p"> //page block 1
<apex:column></apex:column>
<apex:column width="40%" >
<apex:pageblocksection title="Shipment Information" showheader="true" collapsible="true" columns="1">
<apex:pageBlockTable value="{!gp.ot}" var="q"> //page block 2 inside page block 1 in column
<apex:column >
</apex:column>
</apex:pageBlockTable>
</apex:pageblocksection>
</apex:column>
</apex:pageBlockTable>
</apex:pageblockSection>
Here is the output:
So my question is, can I add the child pageblocktable (table 2) so that it spans across the entire length of each row in the parent table beneath the other columns?
Any suggestion would be helpful.Thanks in advance.