Sorting bad data result
Sorting bad data result
Lunix
Posts: 1Questions: 1Answers: 0
I have a problem when i try to sort my datatable,
You can see below my problem :
Before Sort :
http://i.stack.imgur.com/yeut3.jpg
After Sort :
http://i.stack.imgur.com/9FkL9.jpg
When i try to sort my datatables, he sort but he add my last data below the new data.
// Définition de l'objet datatable
$("#dataTable").dataTable({ "aaData": data,
"aoColumns": title,
"bProcessing": true,
"bServerSide": false,
"bSort": true,
"bSortClasses": false,
"bPaginate": true,
"sPaginationType": "full_numbers",
"bJQueryUI": false,
"aLengthMenu": [10, 15, 25, 50, 100],
"iDisplayLength": 15,
"oLanguage": {
"sProcessing": "<?=$DataTablesProcessing;?>",
"sLengthMenu": "<?=$DataTablesLengthMenu;?>",
"sZeroRecords": "<?=$DataTablesZeroRecords;?>",
"sInfo": "<?=$DataTablesInfo;?>",
"sInfoEmpty": "<?=$DataTablesInfoEmpty;?>",
"sInfoFiltered": "<?=$DataTablesInfoFiltered;?>",
"sInfoPostFix": "<?=$DataTablesInfoPostFix;?>",
"sSearch": "<?=$DataTablesSearch;?>",
"sUrl": "<?=$DataTablesUrl;?>",
"oPaginate": {
"sFirst": "<?=$DataTableoPaginatesFirst;?>",
"sPrevious": "<?=$DataTableoPaginatesPrevious;?>",
"sNext": "<?=$DataTableoPaginatesNext;?>",
"sLast": "<?=$DataTableoPaginatesLast;?>"
}
}
});
If you have any idea for this problem.
I tryed to create my table in html but that change nothing.
BR
This discussion has been closed.