Hi All,
I need to implement paging for share point list as <prev>1 2 3<next>.
And the page numbers should be created dynamically based on the no of records per page.
if the reason for paging is because you’re customising a list view on a SharePoint site, then you should really look at using the tools MS provide rather than building custom. If the standard list views don’t provide enough functionality, then take a look at customising listviews using Display Templates.
Wes Preston has a great overview on how these works, as does Martin Hatch (more dev focussed)
Wes Preston – http://www.idubbs.com/blog/2012/js-link-for-sharepoint-2013-web-partsa-quick-functional-primer/
Martin Hatch – https://www.martinhatch.com/2013/08/jslink-and-display-templates-part-1.html
Finally, I have a blank template with paging that you can use sitting in the SPCSR github repo.. https://github.com/SPCSR/DisplayTemplates/blob/master/JavaScript%20Display%20Templates%20(JSLink)/Blank%20ListView%20Template/csr_ovr_RenderListTemplateWithPaging.js
Hope these help
Paul.
Hi,
The same requirement I need.Can you please share me the code
I have implemented in our last project where UI allows to select the number of records per page accordingly, paging will set its numbers. Also, it takes care the large number of records without taking all the records all the time as OOB paging do. I can share the code if you wish
I dont have much idea about JSlinks can u please help me
