0

how do we implement paging for results after we get results in onSuccess function, I have like this:

            for(var i = 0; i <results.length; i++){
                                 }

But this way, it will loop through all documents, but how do I implement paging, and loop through only items I want, like 5 document each time.

  • This article might help you out – nbi Feb 21 '15 at 17:49
1

i learned about it by the link provided by nitish. http://social.technet.microsoft.com/wiki/contents/articles/18606.sharepoint-2013-paging-with-sharepoint-client-object-model.aspx

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.