You need to sign in to do that
Don't have an account?
Charles McDowell
Nesting table 3 levels
I am trying to nest tables for three level. Quote - Products - Product Price by Size. I get the Quote and Products but the Price is not nested. Is it possible to do this?
<apex:page standardController="Project__c" extensions="ProjectRptExtension" >
<apex:form >
<b>{!Project__c.Name}
<apex:pageBlock >
<apex:pageBlockTable value="{!q}" var="g">
<apex:column value="{!g.name}" />
<apex:column breakBefore="true" colspan="2" >
<apex:pageBlockSection Title = "Products" columns="1">
<apex:pageBlockTable value="{!qd}" var = "d">
<apex:column value="{!d.name}" />
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:column >
<apex:column breakBefore="True" colspan="2" >
<apex:pageBlockSection title="Pricing" columns="1">
<apex:pageBlockTable value="{!qp}" var = "p">
<apex:column value="{!p.ProductSizePrice__c}" />
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:column >
</apex:pageBlockTable>
</apex:pageBlock>
</b>
</apex:form>
</apex:page>
<apex:page standardController="Project__c" extensions="ProjectRptExtension" >
<apex:form >
<b>{!Project__c.Name}
<apex:pageBlock >
<apex:pageBlockTable value="{!q}" var="g">
<apex:column value="{!g.name}" />
<apex:column breakBefore="true" colspan="2" >
<apex:pageBlockSection Title = "Products" columns="1">
<apex:pageBlockTable value="{!qd}" var = "d">
<apex:column value="{!d.name}" />
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:column >
<apex:column breakBefore="True" colspan="2" >
<apex:pageBlockSection title="Pricing" columns="1">
<apex:pageBlockTable value="{!qp}" var = "p">
<apex:column value="{!p.ProductSizePrice__c}" />
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:column >
</apex:pageBlockTable>
</apex:pageBlock>
</b>
</apex:form>
</apex:page>
Nagasai Aytha
Did you try changing case of breakBefore = "true" at line apex:column breakBefore="True" colspan="2" instead of uppercase 'True'