on 12-01-2010 1:57 PM
Hi All,
I am using the TableSorter Class and it is properly implented but it is not sorting some values in a column correctly.Please , suggesst you expert view so that i can sort the table in a right manner.
e.g a column it is sorting like
1750
1751
1755
520
600
601
Hi,
What is the data type used in the column? Please check the sort code which handles the integer sorting.
Regards
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Look like your column's values are treated/sorted as texts. You'll probably need to pad the values with leading zeros.
Hope it helps.
Regards,
Dao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.