Jquery mobile 移动设备的响应数据表中未显示的列

Jquery mobile 移动设备的响应数据表中未显示的列,jquery-mobile,datatable,datatables,responsive,Jquery Mobile,Datatable,Datatables,Responsive,我为手机(iPhone)实现了一个响应数据表,它显示了除最后一列之外的所有列,其中包含CRUD操作链接,如编辑、详细信息和删除 dataTable也没有显示用于展开和关闭某些列的加号图标。我在创建数据表时遗漏了什么 <div class="table-responsive"> <table id="dataTable" class="table table-striped table-bordered dt-responsive nowrap" cellspacin

我为手机(iPhone)实现了一个响应数据表,它显示了除最后一列之外的所有列,其中包含CRUD操作链接,如编辑、详细信息和删除

dataTable也没有显示用于展开和关闭某些列的加号图标。我在创建数据表时遗漏了什么

<div class="table-responsive">
    <table id="dataTable" class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" style="width: 100%;">
        <thead>
            <tr>
                <th>
                    @Html.ActionLink("Last Name", "Index", new { sortOrder = ViewBag.NameSortParm, currentFilter = ViewBag.CurrentFilter })
                </th>
                <th>
                    First Name
                </th>
                <th>
                    @Html.ActionLink("Enrollment Date", "Index", new { sortOrder = ViewBag.DateSortParm, currentFilter = ViewBag.CurrentFilter })
                </th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr>
                    <td>
                        @Html.DisplayFor(modelItem => item.LastName)
                    </td>
                    <td>
                        @Html.DisplayFor(modelItem => item.FirstMidName)
                    </td>
                    <td>
                        @Html.DisplayFor(modelItem => item.EnrollmentDate)
                    </td>                    
                    <td>
                        @Html.ActionLink("Details", "Details", new { id = item.ID })
                        @if (User.IsInRole("Admin"))
                        {
                            @:|
                            @Html.ActionLink("Edit", "Edit", new { id = item.ID })@: |

                            @Html.ActionLink("Delete", "Delete", new { id = item.ID })
                        }
                        else
                        {
                        }
                    </td>
                </tr>
            }
        </tbody>
    </table>
</div>

@ActionLink(“姓氏”,“索引”,新的{sortOrder=ViewBag.NameSortParm,currentFilter=ViewBag.currentFilter})
名字
@ActionLink(“注册日期”,“索引”,新{sortOrder=ViewBag.DateSortParm,currentFilter=ViewBag.currentFilter})
@foreach(模型中的var项目)
{
@DisplayFor(modelItem=>item.LastName)
@DisplayFor(modelItem=>item.FirstMidName)
@DisplayFor(modelItem=>item.EnrollmentDate)
@ActionLink(“详细信息”,“详细信息”,新的{id=item.id})
@if(User.IsInRole(“Admin”))
{
@:|
@ActionLink(“编辑”,“编辑”,新的{id=item.id})@:|
@ActionLink(“删除”,“删除”,新的{id=item.id})
}
其他的
{
}
}

我缺少响应数据表的JavaScript标记,并且我的
元素的子元素数与
元素的子元素数不匹配。”