this may be what you guys are looking for? dunno, haven't tested it much... I'm sure there's a better way of doing this... but it seems to work. just add a "multisort" class to every table you want linked.
var $multisort = $("table.multisort"); $multisort.addClass( "msUnsorted" ); $multisort.bind( "sortStart", function(){ $(this).removeClass( "msUnsorted" ); }); $multisort.filter( ".msUnsorted" ).bind( "sortEnd", function(){ var sortOrder = [ this.config.sortList ]; // get sort order $multisort.filter( ".msUnsorted" ).removeClass( "msUnsorted" ).trigger( "sorton", sortOrder ); setTimeout( function(){ $multisort.addClass( "msUnsorted" ); }, 0 ); // avoid retriggering }); stephen On Wed, May 13, 2009 at 10:01, christopherious <christopheri...@gmail.com>wrote: > > "Wow, the idea of sorting multiple tables at the same time is > interesting. I may check that out, too." > > Hah, I only just now realized that I totally misunderstood your > original post! > > My users need this because they work with the same data on multiple > tables, and don't want to apply sorts on a table-to-table basis. > > Just need to see a real-world example, and I'm all set. The Triggers > sortStart and sortEnd example (http://tablesorter.com/docs/example- > triggers.html <http://tablesorter.com/docs/example-%0Atriggers.html> ) was > the closest I could find. > > On May 12, 6:40 pm, David Blomstrom <david.blomst...@gmail.com> wrote: > > Please ignore my last question; I found the thread I was looking for. > > I'll give the various solutions that were offered another try, and if it > > still doesn't work, I'll put a live example online. > > Thanks. > > > > On Tue, May 12, 2009 at 6:18 PM, David Blomstrom > > <david.blomst...@gmail.com>wrote: > > > > > Wow, the idea of sorting multiple tables at the same time is > interesting. I > > > may check that out, too. > > > In the meantime, thanks for the tip, aquaone. I'm now able to place > > > multiple sortable tables on a page. > > > Now I just have to fix one other problem - numerals with commas don't > sort > > > properly. I asked about that in another thread and got several > responses - > > > none of which worked for me - but I can't find that thread now. > > > Is there a way to find all threads in this group I've started on the > > > Internet? I'm using GMail, and I have a lot of threads to sort through. > > > Thanks. > > > > -- > > David Blomstrom > > Writer & Web Designer (Mac, M$ & Linux)www.geobop.org >