问题描述
这个插件固定的列不能排序,其他的列都可以排序
问题出现的环境背景及自己尝试过哪些方法
<table class="table-striped table-hasthead nowrap" id="tableTest1" data-search="true" data-fixed-columns="true" data-fixed-number="3">
<thead>
<tr>
<th></th>
<th data-sortable="true">状态描述状态描述</th>
<th data-sortable="true">客户号</th>
<th data-sortable="true">客户名称</th>
<th data-sortable="true">监测设备编号</th>
<th data-sortable="true">提醒余额</th>
<th data-sortable="true">收费单价</th>
<th data-sortable="true">结算金额</th>
<th data-sortable="true">结算时间</th>
<th data-sortable="true">实时结算金额</th>
<th data-sortable="true">实时结算时间</th>
<th class="lastcolumn">客户编辑</th>
</tr>
</thead>
<tbody>
已经解决
主要把插件的代码改成var that = this, $trs = this.$header.find('tr').clone(true);