How to sort a-b-c data in row (1.10.0)
How to sort a-b-c data in row (1.10.0)
![Rozman](https://secure.gravatar.com/avatar/edbe92f4cb0cf11d1c69b5f2f1e5594c/?default=https%3A%2F%2Fvanillicon.com%2Fedbe92f4cb0cf11d1c69b5f2f1e5594c_200.png&rating=g&size=120)
Hello, please help me sort a row with a-b-c data, for example: 95-75-6
Where must sort in order A, B, C.
For example, sort like this:
100 - 40 - 3
100 - 37 - 2
90 - 47 - 10
90 - 47 - 9
87 - 3 - 10
83 - 34 - 11
Thank you.
This discussion has been closed.
Answers
There is no option in DataTables to sort columns. Only rows can be ordered.
If you need to order complex, non-numeric data, then you need to create a plug-in sorting method: http://legacy.datatables.net/development/sorting#type_based
Allan