How do i add page numbers to a share point list instead of having the Item numbers at the bottom of the page?

  • Which page numbers? Can you elaborate a little deeper? – ranbo Jan 27 '17 at 16:19
  • 1
    At the bottom of a full list SharePoint displays e.g 1-30 which refers to the items, i want this to be page numbers instead of item numbers @rafaelbonametti – Ashish Jivram Jan 27 '17 at 16:24
  • So what defines a pagenumber? You mean 1-30 should be page #1 and 31-60 page #2 ? What should happen van you change the number of items displayed on one page? The current UI never did pagenumbers because it has no clue how many pages there are. So you need to add code and do calculations. The mentioned XSLT is oldskool (and XSLT is a pain), modern approach is Client-Side-Rendering and using REST to get all the required info.. also more future proof for the SharePoint Framework.. But all requires some serious scripting. – Danny '365CSI' Engelman Jan 27 '17 at 20:33

You can try these two options:

1- You could use a Content Query WebPart with Pagination that Waldek put together first for SP2007 and later on for SP2010.

Adding paging numbers to the control list with paging template

2- You can download Waldek's code and extend his webpart with new functionality. You could also just extend the CQWP out of the box and build your own paging. I wrote an article some time ago explaining how you could extend the CQWP and create your own XSLT functions... for instance to create the paging...

Create your own xlst functions using c

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.