Hi Andy,

I will provide methods for clearing and resorting  the table in the same way
the update method works.

Here is a example:

$("table").tablesorter();

// new data has been appended to the table
$("table").tablesorterUpdate();

// clear sorting
$("table").tablesorterClearSorting();


/christian


2007/7/6, Andy Matthews <[EMAIL PROTECTED]>:

 Or better yet a "clear sort" button. That would be a bit more useful I
think.

 ------------------------------
*From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Stefan Petre
*Sent:* Friday, July 06, 2007 6:58 AM
*To:* jquery-en@googlegroups.com
*Subject:* [jQuery] Re: Preview: Brand new tablesorter 2.0, multi-column
sorting and more

May I suggest something? When you sort: first click > sort ascending ,
second click > sort descending ; third click > clear sorting.

2007/7/6, tlob < [EMAIL PROTECTED]>:
>
>
> an ajax mysql connection for editing datas inside the table and I owe
> you BIG time!
>
> ;-)
>
> GREAT WORK!!
>
> On 6 Jul., 13:34, "Christian Bach" <[EMAIL PROTECTED]>
> wrote:
> > 2007/7/6, Kia Niskavaara < [EMAIL PROTECTED]>:
> >
> > > Multi-colum sorting is great news. Good work!! Reverse multisorting
> on one
> > > column and normal sorting
> > > on another column doesn't seem to be working (yet)
> >
> > > Is it possible to add a custom sorter that sort using the initial
> order?
> >
> > Custom sorter will be supported in the same way as the old version
> did.
> >
> > I just updated the demo so the reversing on column won't revers all
> the
> > selected columns
> > and an options to append 500 rows of random data (for speed testing).
> >
> > http://lovepeacenukes.com/tablesorter/2.0/tests/demo2.html
> >
> > /christian
>
>



--
POLYESTER*
Wittstocksgatan 2
115 24 Stockholm
Phone: 08-660 73 50 / +46-8-660 73 50
Mobile: 070-443 91 90 / +46-70-443 91 90
E-mail: [EMAIL PROTECTED]
http://www.polyester.se

Reply via email to