Setup Scroller

Setup Scroller

tohatectohatec Posts: 5Questions: 1Answers: 0

Im using current 1.10.13 of datatables.js and current 1.4.2 of scroller.js and trying to do Server side processing of data.
Unfortunatelly data.length is always ajax requested as value of "-1" which doesn't make much sense to me :-(

This is my Js:

$(document).ready(function() {
$('#dataTable').DataTable( {
serverSide: true,
ordering: false,
searching: false,
ajax: {
url: 'getResults.json',
type: 'post',
data: {
reportName: reportName
},
error: function(){
console.log('error');
}
},
scrollY: 600,
scroller: {
loadingIndicator: true
}
} );
} );

Thanks for any help oder hints!
hamipl from tohatec

Answers

  • tohatectohatec Posts: 5Questions: 1Answers: 0

    Ok, seems to be an incompatibility between dojo and datatables framework

This discussion has been closed.