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?
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
This discussion has been closed.
Replies
One option for you might be the Neutral Ordering plugin. It will set the whole table back to the order of the table data before sorting.
Kevin