我有一个表,我想在其中对列"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>我能以这种方式仅更改一列的排序吗?
https://stackoverflow.com/questions/44365731
复制相似问题