Scroller ajax timneout and retry with same page number

Scroller ajax timneout and retry with same page number

kingurukinguru Posts: 7Questions: 3Answers: 0

Dear community, please help to resolve the issue - I'm using datatables with Scroller (infinite table scrolling with ajax).
Sometimes ajax call fails due to different reasons (timeout for example).
Is there a way to retry scroller specific ajax call?

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    No - there is no retry mechanism for a time out at the moment I'm afraid. You could perhaps try ajax.reload() when an error is detected (xhr and the json parameter will be null), but that isn't something I've tried myself yet.

    Allan

  • kingurukinguru Posts: 7Questions: 3Answers: 0

    Thank you Allan,
    it would reset "page" number and reload from the start. Or I miss something :)

Sign In or Register to comment.