user12384512
user12384512

Reputation: 3401

jQuery DataTable rows order

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.

Upvotes: 2

Views: 2481

Answers (1)

James Montagne
James Montagne

Reputation: 78780

See here:

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

Simply set "aaSorting" : []

Upvotes: 5

Related Questions