sort date (format d.m.Y)
sort date (format d.m.Y)
Ghost108
Posts: 19Questions: 7Answers: 0
Hi all !
I configured my datatable like this:
var myTable = $('#myTable').DataTable({
columnDefs: [
{ targets: '_all', orderable: false }
]
'order': [2, 'desc']
});
But the sorting of my date column is not correct:
Where is my mistake?
This question has an accepted answers - jump to answer
Answers
See this datetime sorting blog for the best practice solution.
Kevin
Perfect ! Thanks