tablesorter
tablesorter copied to clipboard
Initial sorting not working.
Im trying to sort the table ascending on load, but it doesnt work with the example you provided:
$(document).ready(function() { // call the tablesorter plugin $("table").tablesorter({ // set forced sort on the fourth column and i decending order. sortForce: [[0,0]] }); });
Also, how is 0,0 the fourth column? I don't understand the logic behind this..