Header filter order date by desc
Header filter order date by desc
I have datatable with header filter and it is working fine except date sorting. I want to make it show order by desc and asc (if click again). But it works different. On desc order, it shows last month but earliest date first, then it is going to last date. On picture bellow i demonstrate that. I am using simple method.
Here is js code:
$(document).ready(function() {
$('#tableID').DataTable();
} );
This discussion has been closed.