extjs4 treegrid의 데이터를 depth 별로 클래스 주는 방법
Ext.create('Ext.tree.Panel', {
...
viewConfig: {
getRowClass: function(record){
return "treeDepth"+record.get('depth');
}
},
....
})
Ext.create('Ext.tree.Panel', {
...
viewConfig: {
getRowClass: function(record){
return "treeDepth"+record.get('depth');
}
},
....
})
댓글