Avatar of zhshqzyc
zhshqzyc
 asked on

Remove per page limit

A list in sharepoint has the size of 30 per page. If I want to display all rows in one page.
How can I do it?

Thanks,
Microsoft SharePoint

Avatar of undefined
Last Comment
Justin Smith

8/22/2022 - Mon
Justin Smith

Go into the View settings, there is an "Item Limit" towards the bottom of the page.  Bump it up.
Zerox Hoop

You can see this limit by selecting the hyperlink button:

From the content edit toolbar:

Select Browse

and, assuming you have more than 30(depends on you) pages in the directory, you’ll see the 30((depends on you)) item limit

The default is set at 15 pages, but you can quickly and easily fix that.

Open: AssetPortalBrowser.aspx

Loaction: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\AssetPortalBrowser.aspx
Go to: Line number: 96
Edit: PageSize=”15¿
Change the 15 to your desired value.type how much pages you want.
zhshqzyc

ASKER
Two questions:
1. If you change the 15 to your desired value, it will change all lists in Sharepoint?
2. Suppose I have big line number of 10000, I have to calculate it. But I just want to display all in one page without math.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Justin Smith

You might be able to set the Item Limit to "0", which would show all items on one page.  However, I have to say if you do this it could really affect performance if you are trying to view thousands of records on one page.
zhshqzyc

ASKER
No, I tried "0" but failed. The number must be greater than 1.
ASKER CERTIFIED SOLUTION
Justin Smith

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.