Sorting us date on datables 1.8.2
Sorting us date on datables 1.8.2
gramicci
Posts: 2Questions: 1Answers: 0
i tried everything and nothing work for me!!!
please if anyone can make it clear and help me solve this issue
first of all am using datables 1.8.2 jquery version and am using the server side processing
i have this 3 javascript included :
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.dataTables.js"></script>
<script type="text/javascript" src="js/datatables_init.js"></script>
Then in the datatables_init.js i have these lines :
jQuery(document).ready(function() {
jQuery('#datatable_ppp').dataTable( {
"aaSorting": [[ 1, "desc" ]],
"bProcessing": true,
"bServerSide": true,
"bStateSave": true,
"sAjaxSource": "server_ppp.php",
"sPaginationType": "full_numbers"
} );
} );
my tables looks like this :
Op | Date | First Name | Last Name | '
---|---|---|---|
loading... | |||
Op | Date | First Name | Last Name | '
everything works fine its just the date sorting which is mm/dd/yyyy doesnt give the right result..
Thanks in advance.
This discussion has been closed.
Answers
please i need help..