The table on this page is sorted by the tablesorter plugin. The candy-striping is not re-applied after sorting, so the shaded and unshaded rows appear in the wrong sequence after a sort is performed. Click on the Name column to see an example of this.
Is there a way to redo the striping after a sort?
You have to use the zebra widget. Use the following piece of code to initialize the tablesorter:
$("table.tablesorter").tablesorter({
widgets: ['zebra']
});
Zebra is the only widget included by default. See here for reference.
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