我可以将导出按钮放在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>
...
答案 0 :(得分:0)
从opened issue复制的答案。
使用Observable.interval(300, TimeUnit.MILLISECONDS)
.flatMap(t -> Observable.fromCallable(() -> {
Thread.sleep(1000);
}).subscribeOn(Schedulers.io()))
.map(...)
.takeWhile(...)
.subscribe(...)
中tr
设置的班级名称,如下所示:
<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>