How can I sort dates in this format?
How can I sort dates in this format?
Noodles12
Posts: 113Questions: 41Answers: 2
Please see my test case here -
https://live.datatables.net/zasupaza/1/edit
In my example, most dates are formatted in mm/dd/yyyy. Hoever, I have 2 dates that are in mm/dd/yyyy to mm/dd/yyyy format. What is the best way to sort it? The column should only sort on the first date (from date).
This question has an accepted answers - jump to answer
Answers
Use
columns.render
to create orthogonal data for the sort operation. Parse the data and only return the first date.Kevin