dTable = $('#periods_grid').dataTable( {
"bProcessing": false,
"bPaginate" : false,
"bDestroy" : true,
"bFilter": false,
aaData : myArray
});
Why rows order is messed up ? I want rows order to be the same like they are in the array.
See here:
Is there a way to disable initial sorting for jquery DataTables?
Simply set
"aaSorting" : []