jquery 'tablesorter' zebra widget do sort all column unnecessarily!
- by I Like PHP
i m using jQuery tablsorter plugin, it's working perfect,but now problem is ...
i want to enable sorting only on 1'st and 3'rd column, and i also want to show different color of alternate row. i used widgets:[zebra], but using widget zebra, it enables sorting on all column as well as images(asc.gif,desc.gif,bg.gif) is also appearing on all headers whereas i only want these on only first and 3rd column
how to use zebra widget with specific column sorting not the whole columns sorting
here is my code
<script type="text/javascript">
$(document).ready(function()
{
$("#managerTable").tablesorter({widgets: ['zebra']},
{sortList:[[0,0]],headers:{2:{sorter:false},4:{sorter:false}}
});
});
</script>