Sorting: Treat dashes as 0's
Sorting: Treat dashes as 0's
Hi guys,
I have a table that includes "--" instead of a blank cell, which is screwing with my numeric sort. Is there any way I can force DataTables to treat --'s as 0's?
I am guessing I will need to implement a sorting plugin, but can't seem to find one to address my issue.
I have a table that includes "--" instead of a blank cell, which is screwing with my numeric sort. Is there any way I can force DataTables to treat --'s as 0's?
I am guessing I will need to implement a sorting plugin, but can't seem to find one to address my issue.
This discussion has been closed.