alternatively, write your own parser, or store the value as a float in a hidden span that appears before the displayed value. default behavior of tablesorter is to sort on the first child dom node with a text node...
stephen On Wed, Mar 4, 2009 at 15:26, donb <falconwatc...@comcast.net> wrote: > > Add a hidden column with the values unformatted, as float values. > Sort on that column > > On Mar 4, 4:36 pm, novotny <novo...@gridsphere.org> wrote: > > Hi, > > > > I have a column with values $4.50, $127.00, -$130.00, -15.76 and the > sorting > > doesn't work. It works fine if all values are positive, however. Does > anyone > > have any idea how to fix this? For now I just have to eliminate the "$" > in > > order for it to work. > > > > Thanks, Jason > > -- > > View this message in context: > http://www.nabble.com/tablesorter-doesn%27t-sort-negative-currency-pr... > > Sent from the jQuery General Discussion mailing list archive at > Nabble.com. >