You need to sign in to do that
Don't have an account?
how to add custom rows into a pageblock table
Hi Guys,
I have a custom page block table created with 4 columns ,
i now need to add each column with 8 rows of custom output text ..
row1 row2(factor) row3 (opp score) row4(risk score)
rule1 picklistfield1 dependent picklist for row 2 dependent picklist for row 2
rule2 picklistfield2 dependent picklist for row 2 dependent picklist for row 2
so like these i need 8 rows , i have created
VF :
<apex:page controller="Opportunities">
<apex:form >
<apex:tabPanel >
<apex:tab label="go/nogosheet1" id="sheet1" >
<apex:pageBlock >
<apex:pageblockSection columns="2" collapsible="false">
<apex:pageBlockSectionItem >
<apex:pageBlockTable value="{!null}" var="rule">
<apex:column headerValue="rule"/>
<apex:repeat value="{!myrecords}" ></apex:repeat>
<apex:column headerValue="opp score"/>
<apex:column headerValue="factor"/>
<apex:column headerValue="risk score"/>
</apex:pageBlockTable>
</apex:pageBlockSectionItem>
</apex:pageblockSection>
</apex:pageBlock>
</apex:tab>
<apex:tab label="go/nogosheet2" id="sheet2" >
</apex:tab>
<apex:tab label="go/nogosheet3" id="sheet3" >
</apex:tab>
</apex:tabPanel>
</apex:form>
</apex:page>
apex:
public class Opportunities {
public String oppor1 { get; set; }
public String nogosheet1 { get; set; }
public String opp1 { get; set; }
}
let me know if any1 can help ?????????????
Add attribute Row in the pageblocktable, the row attribute defines number of rows in page block table. As:<apex:pageBlockTable value="{!null}" var="rule" rows="8">
Hope this helps!