我从http://mottie.github.com/tablesorter/docs/example-options-headers.html得到了这段代码:
// BONUS TIP: disable a column using jQuery data directly
// but do it before the table initializes
$("table thead th:eq(5)").data("sorter", false);
这可行,我可以添加如下所示的第二行来禁用过滤。但是,我想将它们组合成一行。我该怎么做?
// I Want to combine this into the prev line
$("table thead th:eq(5)").data("filter", false);