order
order
Rambaldi
Posts: 9Questions: 3Answers: 0
Hi, I noticed that with ajax data order: [[3], 'asc'], it doesn't work. Sorting only works if I click on the column header
Answers
Looks like a syntax error. Its missing the trailing
]
. Should look like this:Kevin
I misspelled my post, order: [[3], 'asc']], doesn't work
Sorry I missed it but you still have a syntax error. You should just have the integer
3
not an array. Like this:See the
order
docs for the proper syntax. If you stiill need help then please post your Datatables init code. Better is a link to a test case showing the issue.https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin