列:
{
xtype : ‘gridcolumn‘,
dataIndex : ‘nrMid3bit‘,
text : ‘Nr.mid‘,//零件号中间3位
renderer: function(value, metaData, record) {//add renpei 20160527
var partNum=record.get("partNum");
if(null != partNum && partNum.length>5){
if(partNum.startsWith("N") || partNum.startsWith("n")){
return "N";
}else{
value=partNum.substring(3,6);
return value;
}
}else{
return ;
}
},
stateId:‘QpnGridForQpn_033‘
}