Sort by numerica value within a wrapped tag

Sort by numerica value within a wrapped tag

hydradictyhydradicty Posts: 5Questions: 0Answers: 0
edited March 2013 in General
Dear all,

I found when a column is wrapped by tag

e.g. 10

it would not sort by numerical value of 10, but by "102193.html". Is there a way to sort by the wrapped numerical value?

Thanks.

- Hydradicty

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    It actually should sort it but the HTML contents, but it will sort it as a string, not numerically. To sort numerically, use this plug-in: http://datatables.net/plug-ins/sorting#numbers_html

    Allan
  • hydradictyhydradicty Posts: 5Questions: 0Answers: 0
    edited July 2013
    No comment
This discussion has been closed.