Sort by first DateTime

Sort by first DateTime

CrazywaneCrazywane Posts: 1Questions: 0Answers: 0

Hello @ll,

my problem is that sort of datetime... the sorting does not work.

My Table:
Datetime | Names | Company | ID

I will sort by DateTime
04.12.2015 - 21:03
04.12.2015 - 21:01
04.12.2015 - 19:58
03.12.2015 - 16:32


My Code:
Load: https://cdn.datatables.net/plug-ins/1.10.10/sorting/date-de.js

$(document).ready(function() {
$('#test').dataTable( {
columnDefs: [
{ type: 'de_datetime', targets: 0 },
{ type: 'de_date', targets: 1 }
]
} );
} );


sry for my english :)

best
Crazy

This discussion has been closed.