I have an asp.net GridView that I use the tablesorter on:
$(document).ready(function() {
$("[id$='_myGridView']").tablesorter({ sortList: [[0, 0]] });
});
How can I apply zebra striping that re-stripes when re-sorting?
Edit: As @Chetan Sastry pointed out, it's as simple as:
$(document).ready(function() {
$("[id$='_myGridView']").tablesorter({ sortList: [[0, 0]], widgets: ['zebra'] });
});