function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DS777DS777 

Pagination

<apex:pageBlock >
 <apex:pageBlockButtons >
                        <apex:commandButton value="Create Sales Order" action="{!save}" />
                        <apex:commandButton value="Cancel" action="{!cancel}" />
</apex:pageBlockButtons>
 <apex:pageBlockTable value="{!accounts}" var="opp" rows="5">
<apex:column >
     <apex:facet name="header">
     </apex:facet>                           
     <apex:inputCheckbox value="{!opp.OrderConversion__c}"
                                id="theCheckbox"
                               rendered="true" />
     </apex:column>
               <apex:column headervalue="Opportunity Name">
                <apex:outputPanel > 
                   <apex:actionSupport event="onmouseover" rerender="detail">
                      <apex:param name="id" value="{!opp.id}" />
                   </apex:actionSupport>
                   {!opp.name}
                 </apex:outputPanel>
               </apex:column>
               <!--
                <apex:column value="{!opp.AccountId}" />
               -->
                <apex:column value="{!opp.Amount}" />
                <!--
                <apex:column value="{!opp.closedate}" />
                -->
                <apex:column value="{!opp.stageName}" />
    <apex:facet name="footer"></apex:facet>
 </apex:pageBlockTable>
 </apex:pageBlock>
 </apex:form>
</apex:pageBlock>
<!--
<apex:actionStatus id="status" startText="{!CurrentPageReference.parameters.cid}" />
-->
<apex:outputPanel id="detail">
<apex:actionStatus startText="Requesting ...">
<apex:facet name="stop">
        <apex:detail subject="{!Opportunity}" relatedList="false" title="false" />
</apex:facet>
</apex:actionStatus>
</apex:outputPanel>
</apex:page>
 
currently i am displaying only 5 rows
now i need <<next>> and <<forward>> so as to scroll to next set of data.
How can this be achieved.
TehNrdTehNrd
I don't have any code but I explained the logic of how this could be done in this thread:

http://community.salesforce.com/sforce/board/message?board.id=Visualforce&thread.id=2034