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

Closed
Casper-O opened this Issue Jun 28, 2012 · 5 comments

Comments

Projects
None yet
3 participants

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.

Owner

Mottie commented Jun 28, 2012

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

Thank you, great to know that it is not just me that failed, can't wait for the next release :)

Den 28/06/2012 kl. 17.17 skrev Rob G reply@reply.github.com:

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


Reply to this email directly or view it on GitHub:
#98 (comment)

jakestay commented Aug 1, 2012

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');

Owner

Mottie commented Aug 1, 2012

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

Owner

Mottie commented Sep 27, 2012

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 :)

Mottie closed this Sep 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment