表格行内编辑功能通过操作DOM来实现,最终实现效果如下代代码
html
<table class="table table-striped table-bordered table-hover tb_listTable" id="apply_listTable">
<thead>
<tr>
{# <th>编号</th>#}
<th>系统名称</th>
<th>申请人</th>
<th>申请人联系方式</th>
<th>申请人单位</th>
<th>申请时间</th>
<th>推荐人</th>
<th>授权状态</th>
<th>授权截止日期</th>
{# <th>最后一次登录时间</th>#}
<th>操作</th>
</tr>
</thead>
<tbody></tbody>
</table>
js
columnDefs: [
{
"targets": 7,