2

这大约是我想要显示表格的方式 http://os6.org/upload/?di=AOYK

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>

在 firebug 中,jquery 给了我以下错误: TypeError: m is undefined.

如果我删除以下代码排序工作,但我需要以下代码来满足我的软件要求。

<tr class="category">
    <td colspan="5">
        <div>
            <span>{{tableName}}</span>
            <span>{{tableRelation}}</span>
        </div>
    </td>
</tr>
4

0 回答 0