Share

Standardista Table Sorting

Tracker: Bugs

5 The sorting function for currency doesnt handle negative s - ID: 1833234
Last Update: Tracker Item Submitted ( nobody )

This can be fixed by changing the regex on lines 349 and 350 to this:
var aa =
that.getInnerText(a.cells[that.sortColumnIndex]).replace(/[^0-9.-]/g,'');
var bb =
that.getInnerText(b.cells[that.sortColumnIndex]).replace(/[^0-9.-]/g,'');

Basiclly just add the - symbol into the regex, the user will need to make
sure that numbers are using the negative symbol instead of being enclosed
in ()

spyke01


Nobody/Anonymous ( nobody ) - 2007-11-16 16:15

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.