Home > Web Front-end > JS Tutorial > extjs4 treepanel dynamically changes row height example_extjs

extjs4 treepanel dynamically changes row height example_extjs

WBOY
Release: 2016-05-16 17:08:44
Original
1218 people have browsed it
extjs4 treepanel dynamically changes row height example_extjs
Copy code The code is as follows:

//css code

.x-row-class{
line-height:30px;
}

//js code

},{
text: 'Skill allocation',
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;
}
},{
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template