Sorting error
Sorting error
somma_matt
Posts: 20Questions: 5Answers: 0
Hello!
Can anyone tell what's going wrong with my datatable? The columns are not sorting correctly. It looks like it's sorting by the first 2 numbers but isn't going past that. ie 98 is showing up before 9700
mattsomma.com/ilt/blanks2.html
Thanks!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It is typically because it is ordering as string instead of number. Take a look in the column type
columns.type
that worked, thank you! I figured it was automatically catching onto it just being a number