2
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.

user12384512
  • 3,362
  • 10
  • 61
  • 97

1 Answers1

5

See here:

Is there a way to disable initial sorting for jquery DataTables?

Simply set "aaSorting" : []

Community
  • 1
  • 1
James Montagne
  • 77,516
  • 14
  • 110
  • 130