Date Sorting issue by using JQuery datatable()
Hi.I have one view where I display data using jquery datatable.
After binding, I have added below code to add jquery class "datatable()" to table.
<script>
$(document).ready(function () {
$('#tblDocuments').DataTable({
"paging": true,
"pageLength": 5,
"ordering": true,
"info": false,
"bFilter": false
});
});
</script>
Here, In my table, column contains date value like, "15-09-2016".
While sorting, it considers only date. Sorting not work for month and year.
How can I do that.