colum type as num-html and html (both) howto?

colum type as num-html and html (both) howto?

betita_elficabetita_elfica Posts: 4Questions: 1Answers: 0

Hi,

I have a column like that <a href="#">2</a> and i want to search only numbers (not html) and sorting numbers.

If i use the type num-html then i can sort correctly, but filter matches "href" search.
If i use the type num then i can filter only matching numbers but i can not sort correctly.

so which is the solution?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    DataTables 1.10 should automatically detect such columns and sort them numerically. If it is not, please link to a test case showing the problem (as noted in the forum rules).

    Allan

This discussion has been closed.