Tablesorter,我可以把导出按钮放在 thead 里面吗?

Tablesorter, can I put the export button inside the thead?

我可以把导出按钮放在 thead 里面吗?因为外面是工作,里面不是。谢谢

<table id="tableSorter">
<thead>
<tr>
  <th class="filter-false" data-sorter="false" colspan="3">Title
                <input type="button" class="ExportBtn" value="Export" /></th>
</tr>
<tr>
  <th>Col-1</th>
  <th>Col-2</th>
  <th>Col-3</th>
</tr>
</thead>
...

opened issue 复制的答案。

使用 trcssIgnoreRow option 设置的 class 名称,像这样:

<table id="RelatedCars">
<thead>
<tr class="tablesorter-ignoreRow">
  <th colspan="3">Title
    <input type="button" class="ExportBtn" value="Export" />
  </th>
</tr>
<tr>
  <th>Col-1</th>
  <th>Col-2</th>
  <th>Col-3</th>
</tr>
</thead>