版本是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>");
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案