【发布时间】:2010-01-09 21:37:20
【问题描述】:
我在使用 Tablesorter 2.0.3 时遇到了一些问题。
第一个问题是当我在我的桌子上设置一个 colspan 时。基本上,当我按如下方式执行此操作时,它不会对相应的列进行排序。
<table>
<thead>
<th colspan="3"></th>
<th>Four</th>
<th>Five</th>
<th>Six</th>
<th>Seven</th>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
</tr>
</tbody>
</table>
我遇到的第二个问题是,无论我在 tablesorter.js 中设置什么 sortInitialOrder (“desc”或“asc”),它都不会在单击时使排序升序或降序产生任何影响开。
有人可以帮忙吗?
【问题讨论】:
标签: jquery jquery-plugins html-table tablesorter