[jQuery] Re: [ANNOUNCE] tablesorter 2.0 released
> Does anyone have an example of how to stripe the data rows? The > default looks like it should be .odd & .even and I am using the blue > theme but nothing is getting striped. You need to pass the widgets option, try this: $("table").tablesorter({ sortForce: [0,0], widgets: ['zebra'] }); It seems that we forgot to document the widgets option, there's always something :) I will update tablesorter.com the first thing tomorrow, i really need to get some sleep. Regards Christian
[jQuery] Re: [ANNOUNCE] tablesorter 2.0 released
Does anyone have an example of how to stripe the data rows? The default looks like it should be .odd & .even and I am using the blue theme but nothing is getting striped. Thanks JQuery Grid .even { #000; } .odd { #fff; } $(document).ready(function() { // call the tablesorter plugin $("table").tablesorter({ 0: {sorter:"text"}, 1: {sorter:"text"}, 2: {sorter:"integer"}, 3: {sorter:"currency"}, 4: {sorter:"percent"}, 5: {sorter:"date"}, sortForce: [0,0], widgetZebra: {css: ["even","odd"]} }); }); First Name Last Name Age Total Discount Date Peter Parker 28 $9.99 20% 07/06/2006 John Hood 33 $19.99 25% 11/10/2002 Clark Kent 18 $15.89 44% 01/12/2003 Bruce Almighty 45 $153.19 44% 01/18/2001 Bruce Evans 22 $13.19 11% 01/18/2007 On Aug 16, 3:27 pm, "Christian Bach" <[EMAIL PROTECTED]> wrote: > Thanks guys! > > I will see to it that i add a short overview to the examples. > > /christian
[jQuery] Re: [ANNOUNCE] tablesorter 2.0 released
Thanks guys! I will see to it that i add a short overview to the examples. /christian
[jQuery] Re: [ANNOUNCE] tablesorter 2.0 released
On Aug 16, 9:41 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > Christian... > > This plugin works WONDERFULLY. It's quick, looks great (the demos do) and it > will be a huge benefit to jQuery developers. > > I do have one critique though (and it's minor). On each demo page, I'd like > to see a little more description of what's actually happening on the page. > Basically expanding the text in the link from the main page. I think it > would help people (like me) know what it is you're doing on that page. > > Other than that, marvelous job. I just upgraded some code I was working on to this and wow, nice speed improvement in larger tables. I agree with the above though. For instance it took me a few to figure out how to get the zebra tables. I checked out the source on the one example on the page, then went looking for a plugin called zebra somewhere. I finally just tried it out and then used firebug to see what class names you were adding to the even/odd rows in the table. Thanks a ton for this. I really impressed a few people at work this morning. Rick
[jQuery] Re: [ANNOUNCE] tablesorter 2.0 released
Christian... This plugin works WONDERFULLY. It's quick, looks great (the demos do) and it will be a huge benefit to jQuery developers. I do have one critique though (and it's minor). On each demo page, I'd like to see a little more description of what's actually happening on the page. Basically expanding the text in the link from the main page. I think it would help people (like me) know what it is you're doing on that page. Other than that, marvelous job. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christian Bach Sent: Wednesday, August 15, 2007 6:38 PM To: jquery-en@googlegroups.com Subject: [jQuery] [ANNOUNCE] tablesorter 2.0 released Hi List, I just released the 2.0 version of tablesorter. Here are the highlight for this release: * Multi-column sorting * Parsers for sorting text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats), time. Add your own easily * Support for ROWSPAN and COLSPAN on TH elements * Support secondary "hidden" sorting (e.g., maintain alphabetical sort when sorting on other criteria) * Extensibility via widget system * Small code size (7,4kb packed) * Documentation Get it all at http://tablesorter.com Regards Christian
[jQuery] Re: [ANNOUNCE] tablesorter 2.0 released
Übercool!!! Thanks MichaL 2007/8/16, Christian Bach <[EMAIL PROTECTED]>: > Hi List, > > I just released the 2.0 version of tablesorter. > > Here are the highlight for this release: > > * Multi-column sorting > * Parsers for sorting text, URIs, integers, currency, floats, IP addresses, > dates (ISO, long and short formats), time. Add your own easily > * Support for ROWSPAN and COLSPAN on TH elements > * Support secondary "hidden" sorting (e.g., maintain alphabetical sort when > sorting on other criteria) > * Extensibility via widget system > * Small code size (7,4kb packed) > * Documentation > > Get it all at http://tablesorter.com > > Regards > Christian >
[jQuery] Re: [ANNOUNCE] tablesorter 2.0 released
Chris, Glean and Sean: Thanks! I'm really happy with this release and hopefully it will solve all your table sorting needs. /christian
[jQuery] Re: [ANNOUNCE] tablesorter 2.0 released
Looks great Christian. I've been using tablesorter for a while, very useful for adding quick sort functionality. ~Sean
[jQuery] Re: [ANNOUNCE] tablesorter 2.0 released
The widget system looks very interesting. I haven't heard of a plugin for a plugin yet. Blazing a new trail! Nice work! Glen On 8/15/07, Chris W. Parker <[EMAIL PROTECTED]> wrote: > > > On Wednesday, August 15, 2007 4:38 PM Christian Bach said: > > > Hi List, > > > > I just released the 2.0 version of tablesorter. > > [snip] > > > Get it all at http://tablesorter.com > > Fantastic. Awesome. Amazing. Great. >
[jQuery] Re: [ANNOUNCE] tablesorter 2.0 released
On Wednesday, August 15, 2007 4:38 PM Christian Bach said: > Hi List, > > I just released the 2.0 version of tablesorter. [snip] > Get it all at http://tablesorter.com Fantastic. Awesome. Amazing. Great.