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.

1 Answer 1

5

See here:

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

Simply set "aaSorting" : []

Sign up to request clarification or add additional context in comments.

1 Comment

ty, i was trying aaSorting : undefined

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.