In the table ,Can I have 3 states for Sort : ASC, DESC and NO_SORT?

In the table ,Can I have 3 states for Sort : ASC, DESC and NO_SORT?

jihedjihed Posts: 1Questions: 0Answers: 0

Hi I'm new in the community, I wanted to ask if you can help me because I can not add the 3rd status "no sort" to th of the table, ie the first click makes the order "asc", the second click makes the sort " desc ", and the third click" no sort ".

I found this function in the Tablesorter plugin but I can not integrate it with Datatable, so I'm asking you if you know a way to implend it only with Datatable

example:

https://mottie.github.io/tablesorter/docs/example-option-sortreset-sortrestart.html

Replies

This discussion has been closed.