data sorting

data sorting

sam4sgsam4sg Posts: 1Questions: 0Answers: 0
edited October 2011 in General
Hi,

I have defined this:
"aoColumns": [
null,
null,
null,
null,
null,
null,
null,
{ "sType": "numeric" },
null,
null,
null,
null,
null
]

But that column is sorting like 1, 100, 101 and then 11, 111, 12 etc.
how do I define such that it treats the column as regular number and sort accordingly?

Thanks,

Replies

  • bombhausbombhaus Posts: 9Questions: 1Answers: 0
    Did you count the td correctly? You start at 0 not 1.

    First thing that popped into my head without seeing your table.
This discussion has been closed.