ATTN: Christian or anyone else familiar :)

I'm trying to use TableSorter for a few large batches
of data, but am getting JS errors depending on what
content is in the columns.

For example:

-Digit-only data works, but MIXED data (ex: some
fields are empty, and some have decimal values) fails.

-Special characters break the sorting. For example, I
have a list of titles and some titles start with
special characters (ex: .hack//SIGN, ~To Heart~). This
also breaks.

I suspect these are breaking because of something to
do with the generic sorting function:

generic: function(a,b) { return ((a[1] < b[1]) ? -1 :
((a[1] > b[1]) ? 1 : 0)); }

I usually use MYSQL's sorting mechanisms to filter
queries (var1 < var2) and this method works with
special characters and such, so I'm not sure what the
best way to modify the js file would be (for a
temporary solution, until this is "fixed" in a
subsequent release).

Do you know of the reason why these cases are
breaking, and/or what a good workaround would be?

thanks,
-kim



 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

Reply via email to