If I have this table
<table class="bordered-table sortable zebra-striped">
<thead><th>Column 1</th><th>Column 2</th></thead>
<tr><td>test</td><td>1</td></tr>
<tr><td>blah</td><td>3</td></tr>
<tr><td>testing</td><td>2</td></tr>
</table>
and I apply table sorter paging like this:
<script type="text/javascript">
$(document).ready(function() {
$(".sortable").tablesorter();
$("table")
.tablesorter({widgets: ["zebra"]}),
.tablesorterPager({container: $("#pager"),positionFixed: false});
}); </script>
then the sorting doesn't work (you can click it, but it doesn't actually sort). Removing
.tablesorter({widgets: ["zebra"]})
seems to work though. I am currently loading only pager and tablesorter. Is the widgets file required for this?
If I have this table
and I apply table sorter paging like this:
then the sorting doesn't work (you can click it, but it doesn't actually sort). Removing
seems to work though. I am currently loading only pager and tablesorter. Is the widgets file required for this?