Extjs4 treepanel example of dynamically changing row heights
- 2020-03-30 00:58:27
- OfStack
![](http://img.jbzj.com/file_images/article/201312/201312171727294.gif?2013111717287)
//CSS code
.x-row-class{
line-height:30px;
}
//Js code
},{
text: ' Distribution of skills ',
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;
}
},{