Menu

#1 TableSorter not sorting

Dev (cvs)
closed-fixed
5
2005-06-11
2005-06-09
No

compareRowsByColumn method in tablesorter generates
exceptions when sorting non numeric columns, it lacks
additional class type checks in if conditionals.

Also the entire tablesorter implementation doesnt work
well with non numeric columns, it seems that its based
from an old sun published tablesorter that has already
been improved in more recent
rewrites/reimplementations, use in my jtables a
tablesorter with this comments:

"This is a long overdue rewrite of a class of the same
name that
* first appeared in the swing table demos in 1997.
*
* @author Philip Milne
* @author Brendon McLean
* @author Dan van Enckevort
* @author Parwinder Sekhon
* @version 2.0 02/27/04
"

The version used in xnap seems to be the older version.

Discussion

  • Steffen Pingel

    Steffen Pingel - 2005-06-11
    • status: open --> open-fixed
     
  • Steffen Pingel

    Steffen Pingel - 2005-06-11

    Logged In: YES
    user_id=165597

    Thanks for the bug report. The sorting issues and
    Exceptions have been fixed in cvs.

    Compared to the original Sun example, the
    implementation has changed quite a bit and IMHO
    works better due to the reverse mapping.

     
  • Steffen Pingel

    Steffen Pingel - 2005-06-11
    • labels: --> XNap Commons
    • status: open-fixed --> closed-fixed
     
  • Steffen Pingel

    Steffen Pingel - 2005-06-11
    • milestone: --> Dev (cvs)
    • assigned_to: nobody --> squig
     

Log in to post a comment.

MongoDB Logo MongoDB