Jquery exclude column method

出自Guoshuang Wiki

跳转到: 导航, 搜索

Find

if(checkHeaderMetadata(this) || checkHeaderOptions(table,index)) this.sortDisabled = true;

after this,add

if(checkHeaderMetadata(this) || checkHeaderOptions(table,index)) this.sortDisabled = true;
if(this.className=="nosort") this.sortDisabled = true;

htmlcode

<th class="nosort"><input type="checkbox" class="checkboxAll" /></th> <th>名字</th>

   <th>个人网站</th> 
   <th>Email</th> 
   <th>性别</th> 
   <th>人品价值</th> 

<th class="nosort">查看</th> <th class="nosort">编辑</th> <th class="nosort">删除</th>

个人工具
留言