DataTables Sorting plugin not working as expected
-
Hello,
I have a simple example table created, with a German date in the first column.
The cvs file, which I import with Tablepress is upoaded here:
https://pastebin.ubuntu.com/p/yKzfZ2rc6n/I also have installed DataTables Sorting plugin. With just enabling this, sorting the “Datum” column does not work, so I added:
"columnDefs": [ { "type": "formatted-num", "targets": [ 0 ] } ]To the commands of the table – which unfortunately does not help either.
The ordering by date is wrong, here is a simple picture of the result:
https://i.postimg.cc/TP52mw7s/20210328174249.pngThis is just a simple example, in reality I want to use it with a much bigger table – with the same problems. Sorting doesn’t work.
Can anybody help me here?Thanks
Mathias
The topic ‘DataTables Sorting plugin not working as expected’ is closed to new replies.