这大约是我想要显示表格的方式
http://os6.org/upload/?di=AOYK
<table class="dataTable">
<thead>
<tr>
<th class="sortable">Sr. No.
<span class="sortIcon"></span></th>
<th class="sortable">First Name
<span class="sortIcon"></span></th>
<th class="sortable">Last Name
<span class="sortIcon"></span></th>
<th class="sortable">Email
<span class="sortIcon"></span></th>
<th class="sortable">Address
<span class="sortIcon"></span></th>
</tr>
</thead>
{{#each sideTables}}
<tr class="category">
<td colspan="5">
<div>
<span>{{tableName}}</span>
<span>{{tableRelation}}</span>
</div>
</td>
</tr>
{{#each collectionAttribute}}
<tr>
<td colspan="1"></td>
<td colspan="1"></td>
<td></td>
<td></td>
<td></td>
</tr>
{{/each}}
{{/each}}
</table>
<br>
在萤火虫中
jquery给了我以下错误:
TypeError: m is undefined.
如果我删除以下代码排序工作,但我需要以下代码才能满足我的软件要求。
<tr class="category">
<td colspan="5">
<div>
<span>{{tableName}}</span>
<span>{{tableRelation}}</span>
</div>
</td>
</tr>