[SalesForce] Using PageBlockTable inside other PageBlockTable

I am trying to build a PageBlockTable inside another PageBlockTable, so I can add the master data in the master table and each row will has a detailed table.

The table I want ti build

So I am thinking of this

<apex:pageBlockTable value="{!List<Objict>}" var="obj">
  <apex:column >
    <apex:facet name="header">
      <apex:commandLink value="Code"/>
    </apex:facet>
    <apex:outputField value="{!obj.Name}"/>
   </apex:column>

   <!-- and repeat <apex:column> for 6 times. Then I want to add the table  -->

</apex:pageBlockTable>

So how could I do this ?

Best Answer

Instead of an apex:pageBlockTable tag, why not use regular html? Style it properly and you could do whatever you wanted.

Related Topic