Sort numeric value in hyper links

Sort numeric value in hyper links

vivekmyselfvivekmyself Posts: 16Questions: 0Answers: 0
edited February 2012 in General
Hi

I am using datatable, The sorting is not happen properly inside a link. If it is text it works fine but if it is in numeric value it doesn't sort properly

example
inside TD
1234
3547
123
12345
2340

it should sort like
123
1234
2340
3547
12345

but its sorting as below which is wrong. How to sort this properly
123
1234
12345
2340
3547

Replies

  • vivekmyselfvivekmyself Posts: 16Questions: 0Answers: 0
    I got the solution from http://datatables.net/plug-ins/sorting#formatted_numbers page #Numbers with HTML
This discussion has been closed.