Wrong order on string formatted column
Wrong order on string formatted column
LittleLama
Posts: 9Questions: 3Answers: 0
Hi,
I'm really satisfied with DataTables, it is a wonderfull library.
I got an issue when ordering a string column, even if I set the value on the sort property.
I format the display to show values in a string, and specify when setting columns the value to take when ordering, but it doesn't work. Have you any idea of the problem.
Here's the code https://jsfiddle.net/LittleLama/ek9w68tL/31/
Thank you very much
This discussion has been closed.
Answers
Ok got it !
I didn't understood the real scope of the wildcard "_" when defining columns.
So I change my code for setting only this stuff to the data value, and setting a "display" property for the formatted string and it works.
https://jsfiddle.net/LittleLama/ek9w68tL/35/