can I put the export button inside the thead ? since outside is work, inside not. Thanks.
<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>
...
Answer copied from the opened issue.
Use the class name set by the cssIgnoreRow
option in the tr
, like this:
<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>