Ordering a column with a order pattern
Ordering a column with a order pattern
yush93
Posts: 1Questions: 1Answers: 0
In rails, there is something called order_as_specified where you can specify the, let's say, order you want to use to order.
For example, I can say order_as_specified(language: ['ja, 'en', 'ko' ]. Then rails would rank it and order as specified rather than ordering it in ascending or descending. Are there some options in datatables to do so?
This discussion has been closed.
Answers
There are some threads discussing rank techniques. See if either of these help:
https://datatables.net/forums/discussion/51004
https://datatables.net/forums/discussion/49422
https://datatables.net/forums/discussion/comment/105679/#Comment_105679
Let us know if there are any questions or if these don't help.
Kevin