<tbody > 

<tr>
<td align="center"><div style="width: 25px;" name="xh">${stuts.index+1 }</div></td>
<td align="center"><input style="width: 20px;" type="checkbox"
name="ck" /></td>

</tr>

</tbody>

1.引入js

<t:base type="jquery,easyui,tools,DatePicker,jqueryui-sortable"></t:base>

2.css样式修改:

#add_decLists_table tr {
border-bottom: 1px solid #e6e6e6;
cursor: n-resize;
}

3.给add_decLists_table赋属性

setTimeout(function(){
$("#add_decLists_table").sortable({
helper: fixHelper,
items: '> tr',
forcePlaceholderSize: true,
stop: function (event, ui) {
resetTrNum('add_decLists_table');
}
}); 
}, 2000);

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2021-12-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2021-07-01
  • 2021-10-13
  • 2021-11-19
相关资源
相似解决方案