aaSorting only sorting 1st number?
aaSorting only sorting 1st number?
garybrett37
Posts: 8Questions: 0Answers: 0
***RESOLVED***
My column was warpped in , once removed the sorting was ok..
Hi there, wonder if someone can assist, I am initialising datatables with code below
[code]oTable = $('.example').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aaSorting": [[ 0, "desc" ]],
"sDom": '<""f>t<"F"lip>'
});[/code]
The problem is my table is sorted by the 1st number only which is causing me issues, this field is a mysql Count. This is the result below when sorted desc?
91
876
78
4056
Any ideas where I may be going wrong?
My column was warpped in , once removed the sorting was ok..
Hi there, wonder if someone can assist, I am initialising datatables with code below
[code]oTable = $('.example').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aaSorting": [[ 0, "desc" ]],
"sDom": '<""f>t<"F"lip>'
});[/code]
The problem is my table is sorted by the 1st number only which is causing me issues, this field is a mysql Count. This is the result below when sorted desc?
91
876
78
4056
Any ideas where I may be going wrong?
This discussion has been closed.