Sort Column with date-eu-pre
Sort Column with date-eu-pre
I'm currently trying to sort a date column with EU dates. I added the plugin to my code, but it only sorts by day and doesn't seem to use the return value of the plugin. I also ran the debugger if further info is needed.
[code]
var table = $("#example").dataTable({
"aaSorting": [[4, "desc"]],
"aoColumns": [
null,
null,
null,
null,
{"sType": "date-eu-pre"},
null
]
});
[/code]
http://debug.datatables.net/eridiv
[code]
var table = $("#example").dataTable({
"aaSorting": [[4, "desc"]],
"aoColumns": [
null,
null,
null,
null,
{"sType": "date-eu-pre"},
null
]
});
[/code]
http://debug.datatables.net/eridiv
This discussion has been closed.
Replies
http://live.datatables.net/ruficoj/2/edit
Drop the `-pre` - that is an identifier for DataTables.
http://live.datatables.net/ruficoj/4/edit
Allan