-- errors
There are problems with your table sorter. 
Create a sortable table with  colspans and it will through lots of errors if
you fix those then it will work fine.

-- feature request
What I would really like is sorting tables grouped by tbody 

Ie each tbody would stay in the same place but the rows would sort inside
each tbody  except for tr's with class='tablesort-ignore'
If the r used the class='tablesort-up-down' then you could move the tbodys
up and down the table with (drag/drop) or (arrows pointing up and down).

Which would hold your tbody header information  

Example:
thead
        tr
                th ...
                th ...
                th ...
        /tr
/thead
tbody
        tr class=ignore
                <td colspan ='3'     >my first category</td>
        /tr
        tr
                td ...
                td ...
                td ...
        /tr
/tbody
tbody
        tr class=ignore
                <td colspan ='3'     >my second category</td>
        /tr
        tr
                td ...
                td ...
                td ...
        /tr
/tbody
tbody
        tr class=ignore
                <td colspan ='3'     >my ... category</td>
        /tr
        tr
                td ...
                td ...
                td ...
        /tr
/tbody
Adrian Sweeney
Web Developer
Mills & Reeve
Tel: +44(0)121 456 8236
mailto:[EMAIL PROTECTED]
http://www.mills-reeve.com


-----Original Message-----
From: Christian Bach [mailto:[EMAIL PROTECTED] 
Sent: 19 October 2006 09:46
To: jQuery Discussion.
Subject: Re: [jQuery] Tablesorter


Hi!

1. I could provied a kind of trigger for you, how about something like this.

Ex.

$("myTableWithTableSorter").trigger("resort");

2. Well it depends how your table is structured and how big it is. Please 
post a example.

/christian


Yehuda Katz wrote:
> I have a need to have the tablesorter do the following:
> 
> 1) Refresh when I need it to (I'm going to be doing DOM insertions, 
> and
> will
> need to refresh the table after an insertion). The best thing I could
think
> of thus far is $(".sortUp, .sortDown").click().click(). Obviously not the
> best idea.
> 2) Use custom sorters. I see that the table sorter SUPPORTS custom sorters
> and parsers, but I wasn't sure about the best way to do this.
> 
> Christian? Anyone?
> 
> 
> ----------------------------------------------------------------------
> --
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


<b>Birmingham Law Society 'Law Firm of the Year' 2006</b>
____________________________________________________________________

<b>Mills & Reeve - one of The Sunday Times 100 Best Companies To Work For in 
2004, 2005 and 2006</b>

This email is confidential and may be privileged.  If you are not the intended 
recipient please accept our apologies; please do not disclose, copy, or 
distribute information in this email nor take any action in reliance on its 
contents: to do so is strictly prohibited and may be unlawful. Please inform us 
that this message has gone astray before deleting it. Thank you for your 
co-operation.

Mills & Reeve Solicitors, offices at:

Birmingham: 78-84 Colmore Row, Birmingham, B3 2AB.
Cambridge:  Francis House, 112 Hills Road, Cambridge CB2 1PH. 
Norwich: 1 St James Court, Whitefriars, Norwich NR3 1RU.
London:  Fountain House, 130 Fenchurch Street, London, EC3M 5DJ.

Mills & Reeve is regulated by the Law Society.

A list of Partners may be inspected at any of the above addresses.

Visit our web site at: http://www.mills-reeve.com

This message has been checked for viruses by the Mills & Reeve screening system.

Service cannot be effected on us by e mail.



_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to