WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Sorttable Table - Mozilla and UsCurrency. Handling Null values., Nic, June 1, 2005
     Re:Sorttable Table - Mozilla and UsCurrency. Handling Null values., Erik Arvidsson, June 5, 2005

Subject: Sorttable Table - Mozilla and UsCurrency. Handling Null values. From: Nic Date: June 1, 2005
I love the sorttable table you folks at WebFX have created. It is really brilliant, and super easy to apply to already generated tables.

I'm having some problems with the UsCurrency sort type and Mozilla (Firefox 1.0.4 to be exact). It just produces inconsistent results. In IE6 the UsCurrency sort type works fine. I've created some "alerts" that output the change of the innerHTML of my column that the UsCurrency "usCurrencyConverter" does and it successfully changes something like "$27,000.00" into "27000.00" in Mozilla prior to sorting. But still generates weird sorting behavior. Just using a sort type of "Number" on a well formatted column works fine.

Also, is there anyway to have "Null" column values (or empty cells) always sort to the bottom? Right now an empty cell will come before a filled cell when I sort ascending. Descending all the Null values are at the bottom.

Thanks again!
-nic



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX