fix updating the columns if the node hasn't yet been rendered

This commit is contained in:
Damien Churchill 2010-04-19 13:56:32 +01:00
parent 9e8d588a05
commit c176ff900f
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@
Ext.override(Ext.ux.tree.TreeGridNodeUI, {
updateColumns: function() {
if (!this.rendered) return;
var a = this.node.attributes,
t = this.node.getOwnerTree(),
cols = t.columns,