How to sort table by dd/mm/yyyy
How to sort table by dd/mm/yyyy
I have looked at forum post and plug-ins/sortin, but I don't get any wiser... I don't know where to place the code in relation to the DataTable code or why jQuery.extend(jQuery.fn.dataTableExt.oSort
does not execute(I placeded a console.log("test")
inside, but did not get anything in the Console).
I pretty much have the same problem as in the before mentioned forum post. I have a date and a time inside a <a href="..>
. The DataTable sorting regards my column data as a string and I need to tell it what part of that string it need to sort.
Resolving this would be great!
Thanks a lot
Answers
Figured out to do all of this using this example on codepen.