I am using the jQuery tablesorter plugin (http://mottie.github.io/tablesorter/docs/index.html)
The tablesorter is working and I can disable sorting and filtering on a column using this code.
// Disable sorting and filtering on 1st column
$("table thead th:eq(0)").data("sorter", false).data("filter", false);
How can I use the .data method to do the equivalent of this?
$("table").tablesorter({
// sort on the 4th column, order asc
sortList: [[3,0]]
});
My problem is I can’t determine how to use
sortList: [[3,0]]
with .data syntax. Any recommendations will be appreciated.