作者:猪哥---半夜跳钢管 | 来源:互联网 | 2022-07-03 05:49
代码如下:
//css代码
.x-row-class{
line-height:30px;
}
//js代码
},{
text: '技能分配',
flex: 1,
width:150,
dataIndex: 'skillDistribut',
sortable: true,
renderer:function(value, metaData, record, rowIndex, columnIndex, store){
metaData.tdAttr= "data-qtip='" + value + "'";
if (record.data.outboundAmount==1) {
metaData.tdCls='x-grid-record-red';
}
return value;
}
},{