Null or blank float values
Closed this issue · 1 comments
tagr commented
So this was from an SO post http://stackoverflow.com/questions/26107198/null-float-values-in-stupid-table-jquery-plugin/26107580#26107580
Basically, a column with nullable float values did not seem to sort correctly. We came up with modifying the "float" function a bit:
return parseFloat(a)||0 - parseFloat(b)||0;
Just wanted to circle the wagon. Neat plugin!