I have Dates in this format ranging from May 9, 2013 9:05:24 PM
to May 15, 2013 9:05:24 PM
Where the sort order is descending or the arrow is pointing down and the sorting comes out like
May 9, 2013 9:05:24 PM
May 15, 2013 9:05:24 PM
May 14, 2013 9:05:24 PM
May 13, 2013 9:05:24 PM
May 10, 2013 9:05:24 PM
and when I hit the column to sort it the other direction the sort looks like
May 10, 2013 9:05:24 PM
May 13, 2013 9:05:24 PM
May 14, 2013 9:05:24 PM
May 15, 2013 9:05:24 PM
May 9, 2013 9:05:24 PM
My datatable code looks like.
var oTable = $('#status_table').dataTable({
"sPaginationType": "full_numbers",
"bPaginate": true,
"bFilter": false,
"bAutoWidth": true,
"sScrollY": "300px",
"bScrollCollapse": true,
"oLanguage": {
"sInfo": 'Showing _END_ Messages.',
"sEmptyTable": "No Messages to display currently.",
"sInfoEmpty": "No Messages to display."
},
"aaSorting": [[ 7, "desc" ]],
"aoColumns": [
{ "bSortable": false, "sWidth":"5%"},
{ "bVisible": false },//code
{ "bSortable": false, "sWidth":"5%"},
{ "bVisible": false },//code
{ "bSortable": false, "sWidth":"15%" },
{ "bVisible": false },//code
{ "bSortable": false, "sWidth":"50%"},
{ "sWidth":"25%" }
]
});
return oTable;
does anyone know what the issue is/could be? and how to possible solve it?