TableSorter : Filter digits with comma as decimal sign -
With jQuery's tablesource, I can not properly filter a column containing European formatted digits (every 3 digits Dot and comma as decimal) signals). Anyway, sorting work like a magic.
See my problem here:
I work with pieces of this code:
jQuery.tablesorter.addParser ({Id: "comma" , Is: function (s, table) {var c = table.config; return $ .tablesorter.isDigit (s.replace (/[.$/ g, ""), c);}, format: function (returns ) Returned $ TABLATOR.FormatFlot (s.replace (/[,.$/ जी, ""));}, parsed: falls, type: "numeric"}); Can you help me?
Thanks in advance!
simply false
()
Comments
Post a Comment