using AJAX and Server-side script table not loading, getting infinite loading.

using AJAX and Server-side script table not loading, getting infinite loading.

Vishnu460Vishnu460 Posts: 1Questions: 1Answers: 0

the issue is not found jquery.datatables version 1.10.19 but the issue is available from 1.10.20 onwards I have debugged and found that the below change causing this issue

code from 1.13.5

if ( draw !== undefined ) {
// Protect against out of sequence returns
if ( draw*1 < settings.iDraw ) {
return;
}
settings.iDraw = draw * 1;
}

code from 1.10.19

if ( draw ) {
// Protect against out of sequence returns
if ( draw*1 < settings.iDraw ) {
return;
}
settings.iDraw = draw * 1;
}

I have reverted this change in 1.13.5 and the issue was resolved and the table loaded

Actually, draw value for both cases is 0

could you please check and correct this logic?

Answers

Sign In or Register to comment.