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.

1
  • This article might help you out
    – nbi
    Commented Feb 21, 2015 at 17:49

1 Answer 1

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 and acknowledge you have read our privacy policy.

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