[Rails-spinoffs] table sorting/manipulation library?

Martin Bialasinski
Thu, 15 Sep 2005 09:01:09 -0000

On 15/09/05, Felipe Gasper <gasperfm@uc.edu> wrote:

Hello,

looks nice :-)

> In response to these mails, the demo now offers multi-sort as a
> checkbox-enabled option; the default is single-sort.

It seems to be broken. Check multisort, sort by name, sort by age.
sorting by age will just turn the Stallmanns around.

I also think, sorting by name should sort by the first letter shown,
not the last name. It hinders to visual scanning otherwise. If you
want to sort by last name, make the entries "lastname, firstname".

I just notice: multisort is broken in other ways too. It never plays
good after the first column is selected.

Also, for the multisort, the columns need three states, "desc, asc,
nosort", so you can remove a column from the sorting order.

> Also, FYI, this library''s row-selecting exposes a very annoying
CSS bug
> in Opera (that goes back at least a couple versions).

If you mean the artifacts on coloring: Do a
document.body.style.display="none";
document.body.style.display="";
to refresh the screen and everything will be well.


Bye,
  Martin