码迷,mamicode.com
首页 > 其他好文 > 详细

easyui datagrid updateRow 行号bug

时间:2017-01-19 18:03:23      阅读:329      评论:0      收藏:0      [点我收藏+]

标签:parse   rownum   位置   update   end   option   options   版本   push   

版本是easyui 1.5
renderRow:function(_81e,_81f,_820,_821,_822){
var opts=$.data(_81e,"datagrid").options;
var cc=[];
if(_820&&opts.rownumbers){
var _823=parseInt(_821)+1; 修这里位置
if(opts.pagination){
_823+=(opts.pageNumber-1)*opts.pageSize;
}
cc.push("<td class=\"datagrid-td-rownumber\"><div class=\"datagrid-cell-rownumber\">"+_823+"</div></td>");
}

easyui datagrid updateRow 行号bug

标签:parse   rownum   位置   update   end   option   options   版本   push   

原文地址:http://www.cnblogs.com/chenkg/p/6307314.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!