Problem with sorting column by datetime

Problem with sorting column by datetime

voloderlejlavoloderlejla Posts: 2Questions: 1Answers: 0


I added in head of html :


and in datatable
order: [[2, "desc"]],
columnDefs: [{ type: 'date-eu', 'targets': [2], orderable: true }], and before initialising datatable
$.fn.dataTable.moment('DD.MM.YYYY HH:mm:ss');
But it doesn't work. What can I do to fix this problem?

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.