Scroller ajax timneout and retry with same page number
Scroller ajax timneout and retry with same page number
kinguru
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
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 thejson
parameter will benull
), but that isn't something I've tried myself yet.Allan
Thank you Allan,
it would reset "page" number and reload from the start. Or I miss something