Message Thread: |
View All MessagesBack to WebFX |
To elaborate a little further: 110 needs to be sorted as: 50+140+50 (thus excluding '+140+50', '/100' and '+290') ..and this one atm does not sort properly no matter what sort type I use: 1,36 btw I'm using XP SP1 with IE6 and all updates From: Ron B Sent: June 21, 2004 Subject: Re:How to exclude characters when sorting columns? Hi, Thanks for the great Sortable Table script.
However, I've got some difficulty trying to exclude certain characters when sorting columns. For instance, when sorting a column with the following values: 100 200 300 100/150 110+120 I would like the "/" and "+" and any characters after that to be excluded from the sorting process (not added or divided, just excluded).
Same issue with the following values (used for weight and (euro) currency): 1,20 1,33 1,36 0,12 What change do I need to make to have this working properly? Would changing the "," in US-currency values to "." help and how do I do that?
TIA Ron
|