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
sunny.kapoor1306sunny.kapoor1306 

Visualforce page problem

I have created a vf page which list the leads but its showing only 20 leads,whats the reason for this?

 

I want to show all my leads

Navatar_DbSupNavatar_DbSup

Hi,

 

Please give more detail for your code or the query that you have fired on the lead object. So that we can resolve your problem .

sunny.kapoor1306sunny.kapoor1306

Here is the code,its showing record of 20leads only

 

 

<apex:page standardController="Lead" recordSetVar="r1" showHeader="false">
<Apex:form >
<apex:pageBlock >
<apex:pageBlockTable value="{!r1}" var="v1">
<apex:column >
<apex:outputField value="{!v1.name}" />
<apex:facet name="header">Name</apex:facet>
</apex:column>
<apex:column >
<apex:outputField value="{!v1.Status}"/>
<apex:facet name="header">Status</apex:facet>
</apex:column>
<apex:column >
<apex:outputField value="{!v1.Phone}"/>
<apex:facet name="header">Phone</apex:facet>
</apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
</Apex:form>
</apex:page>