Custom sort for a column
Custom sort for a column
Kamz
Posts: 2Questions: 1Answers: 0
Hello,
I have a column with priorities in my datatable (H => High, M => Medium, L => Low).
Is there a way to define how it should be sorted (H > M > L) because actually it's alphabetical (H > L > M) ?
Thank you
This discussion has been closed.
Answers
I found a solution using enum (https://www.datatables.net/plug-ins/sorting/enum)