if((_6e4+"").length>2){
var mkm_rn_width = ((_6e4+"").length-2)*7+25;
if($('.datagrid-header-rownumber').width()!=mkm_rn_width){
$('.datagrid-header-rownumber').width(mkm_rn_width);
}
cc.push("<td class=\"datagrid-td-rownumber\"><div class=\"datagrid-cell-rownumber\" style=\"width:"+mkm_rn_width+"px;\">"+_6e4+"</div></td>");
}else{
//=============原文件 9428行=================
cc.push("<td class=\"datagrid-td-rownumber\"><div class=\"datagrid-cell-rownumber\">"+_6e4+"</div></td>");
//================================
}
转载于:https://my.oschina.net/mkm/blog/288322