[jQuery] Re: tablesorter messing with other tables

2009-05-13 Thread andy

I assume your tablesorter is picking up the desired table by an id or
class attribute. Does the nested table have the same attribute? If so
change the name of the nested table attribute and give it another try.
If you would like the nested table to sort independently, give it a
unique attribute identifier and it's own instance of tablesorter.


[jQuery] Re: tablesorter messing with other tables

2009-05-12 Thread aquaone
Tablesorter will sort them like any other content, which may not be what you
intend. If you want to be able to nest table structures, another plugin may
be better suited.

On Mon, May 11, 2009 at 18:21, PaulGCES paulruder...@gmail.com wrote:


 Hello--

 Does tablesorter support nested tables?  I'm only trying to sort the
 outer table, but tablesorter seems confused by tables nested within my
 td's.

 Is it a known issue that tablesorter cannot handle nested tables?

 Many thanks!



[jQuery] Re: tablesorter messing with other tables

2009-05-12 Thread PaulGCES

Well, actually I would indeed like the subtables to sort, but they
seem to be confusing each other.

I'd like to have a sortable table of data, where one column is itself
a sortable table.

However, whenever I nest this way, the implementation seems to get
confused.

Clicking on one table leads to others being sorted, or sending two
events causing it to sort and again reverse sort with every click.

There seems to be some kind of error with the module where it listens
to events from some tables, but doesn't have handlers in it's array to
deal with them, leading to javascript errors.  Has anyone else tried
this with 2.0?

Thanks again,

--Paul.

On May 12, 11:40 am, aquaone aqua...@gmail.com wrote:
 Tablesorter will sort them like any other content, which may not be what you
 intend. If you want to be able to nest table structures, another plugin may
 be better suited.

 On Mon, May 11, 2009 at 18:21, PaulGCES paulruder...@gmail.com wrote:

  Hello--

  Does tablesorter support nested tables?  I'm only trying to sort the
  outer table, but tablesorter seems confused by tables nested within my
  td's.

  Is it a known issue that tablesorter cannot handle nested tables?

  Many thanks!