Strange scroller server side issue
Strange scroller server side issue

Hi,
i am using scroller with server-side and notice one strange issue. When i reload/refresh page and make the first scroll to the bottom or middle of the table, i don't see data, only white screen. If i move scroller to another position, it works fine. Only first scroll make an issue.
function getApp()
{
if ( $.fn.DataTable.isDataTable('#AppTable') ) {
$('#AppTable').DataTable().destroy();
}
$('#AppTable').DataTable( {
'dom' : '<"DataTableInfo"i><"DataTableFilter"f>rtp',
"ajax": 'api/testapp1.php?action=getApp',
"processing": true,
"serverSide": true,
scrollY: 400,
scroller: {
loadingIndicator: true
},
} );
}
Thank you in advance.
Answers
I'm not seeing it here (though it is simulated server-side). Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.
Cheers,
Colin
https://dnses.net/project88751/testapp1.php link
Thanks for the link. It could be because the server isn't responding with the correct
draw
value. It should be returning the same value in the response as that in the header of the request. Yours is one out.Could you give that a try please and see if that makes a difference,
Colin
Thank you.