Maybe a bit of a hack but you could regex the id of the checkbox out of the innerHTML and then perform a dom lookup. It wouldn't be very quick though, and they'd all need unique ids.
Gareth On 6/12/07, Christophe Porteneuve <[EMAIL PROTECTED]> wrote: > > > Hey, > > I don't see a checkbox-related sort type, but I'm unconvinced you can > easily roll your own: it appears that TableSorter relies on cell's inner > text for comparison, not on the cell's DOM, so you'd be hard-pressed to > compare checked= attributes. > > Try asking your question on Tetlaw's libs' group: > > http://groups.google.com/group/dexagogo > > He'll probably come up with a tailored answer. > > -- > Christophe Porteneuve a.k.a. TDD > "[They] did not know it was impossible, so they did it." --Mark Twain > Email: [EMAIL PROTECTED] > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
