I have nested tables within a table that has the tablesorter applied to it.
It adds sort headers to the nested tables, but they don't sort the rows and a Javascript error is thrown.
I would like to have either:
but not the status quo.
Your first option is much easier (making the nested tables not sortable):
Construct the table something like so:
$('.tablesorter').tablesorter({selectorHeaders: '> thead > tr > th'});
And then you might also need to prefix all your css with something like:
table.tablesorter > thead > tr > ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With