【发布时间】:2017-11-06 00:53:56
【问题描述】:
我有一个表格,我想在其中对“BugId”列进行排序。
内置引导程序排序以特定方式排序,其中 ID-1 后跟 ID-11,然后是 ID-12,依此类推(按字母顺序),而我希望 ID-1 后跟 ID-2 ,然后是 ID-3 ....ID-11 等等。(以数字方式)
这就是我的桌子的样子:
<table id="myTable" class="footable table table-striped toggle-arrow-tiny m-xxs" data-page-size="1000">
<thead>
<tr>
<th >Bug ID</th>
<th>Component</th>
<th data-sort-ignore="true">Report Date</th>
</tr>
</thead>
<tbody></tbody>
</table>
我可以以这种方式仅更改一列的排序吗?
【问题讨论】:
标签: html sorting html-table