Hi,
It depends on the form variables; I want the sort for default column is different. The code below did not working, can you please advise?
<script type="text/javascript">
$(document).ready(function() {
$("#mytbl").tablesorter({
if form.status ==6
sortList: [[1,1]],
else
sortList: [[0,1]],
end if
//do not sort for column 3 and 6
headers: {
6: { sorter: false}
}
});
});
</script>