Это немного грязный обходной путь, но как быстрое решение у меня хорошо работает.
var tree = Ext.create('Ext.tree.Panel', {
//...
//configuration goes here
//...
animate: false,
//...
listeners:{
load: function(){
resetHeight(this);
},
itemexpand: function(){
resetHeight(this);
},
itemcollapse: function(){
resetHeight(this);
}
}
}
function resetHeight(cmp){
setTimeout(function(){
var innerElement = cmp.getEl().down('table.x-grid-table');
if(innerElement){
var height = innerElement.getHeight();
cmp.setHeight(height);
}
}, 200);
}