Datatable Won't Load Rows When Scroller Is Activated
Datatable Won't Load Rows When Scroller Is Activated
impalallama
Posts: 1Questions: 1Answers: 0
When I set scroller to true datatable stops trying to render instead it just displays the loading indicator slashes and the record count say NaN to Nan of 6000 entries.
Datatable works normally otherwise but when scroller is activated it fails.
$(function () {
$('#myTable').DataTable({
data: {$dtSource|escape|json_encode},
scroller: { loadingIndicator: true },
deferRender: true,
paging: true,
scrollY: 400
});
});
Any reason this could be?
This discussion has been closed.
Answers
Hi impalallama,
I tried and it worked fine for me here, the only difference being your data source is different. Would you please be able to create a similar live example that demonstrates the problem?
Cheers,
Colin