+ Start a Discussion
javierjiesjavierjies 

How to show groups of objects

Hello everyone!!!

 

I have a VisualForce Page where I show all the fields of a custom object.  

 

<apex: pageBlockTable value="{!FilteredInvoices}"  var="item">
                      <apex:column headervalue="Invoice"><a href="/{!item.Id}" >{!item.name}</a></apex:column>
                    <apex:column headervalue="Folder" value="{!item.Folder__c}"/>          
                    <apex:column headervalue="Sum" value="{!item.Sum__c}"/>
</apex: pageBlockTable>  

 

 

If I have one hundred invoices, I show all of them. My client wants to see it in groups of 15, with a numerical order in the buttom. For instead, in the first page, the first 15 invoices, if you clic the number 2, the second 15 invoices.....

 

 

any idea?

 

thanks in advance!!

Ajay111Ajay111

<apex:page standardController="Account"> <apex:pageBlock title="Hello {!$User.FirstName}!"> You are viewing the {!account.name} account. </apex:pageBlock> <apex:detail/> </apex:page>

 

Tags also exist for other common Salesforce.com interface components, such as related lists, detail pages, and input fields.
For example, to add the content of a detail page, use the <apex:detail> component tag: