Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Zebra do not follow "tablesorter-infoOnly" in nested table. #98

Closed
Casper-O opened this Issue · 5 comments

3 participants

Casper Olsen Rob G John Keller
Casper Olsen

I have been working around a few hours with TableSorter 2.3.10, and it seems like it would not allow me to have a nested table where Zebra should not be added to.

Is it a bug, or just me doing something wrong? did like to have just the main table marked with Zebra and sortable, all others contain information that must not be sortable.

Rob G
Owner

Thanks for reporting this! I'll include it in the next update!

Casper Olsen
John Keller

I've run into this problem as well (with 2.3.11). Assuming that nested tables should never have zebra striping changed by tablesorter, then the fix may be as simple as changing this line in the zebra widget definition:
OLD: $tv = $tb.find('tr:visible');
NEW: $tv = $tb.children('tr:visible');

Rob G
Owner

Thanks! I'll include this in the next update :)

Rob G
Owner

I made a note that this was added in v2.4... but really I think I added it in 2.3.11.1 (not numbered). Anyway, it's in there now :)

Rob G Mottie closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.