X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/docs/source/TreePanel.html diff --git a/docs/source/TreePanel.html b/docs/source/TreePanel.html index 95723087..df77e130 100644 --- a/docs/source/TreePanel.html +++ b/docs/source/TreePanel.html @@ -527,12 +527,24 @@ new Ext.tree.TreePanel({ var uiP = node.attributes.uiProvider; node.ui = uiP ? new uiP(node) : new Ext.tree.RootTreeNodeUI(node); } - if (this.innerCt) { - this.innerCt.update(''); - this.afterRender(); + if(this.innerCt){ + this.clearInnerCt(); + this.renderRoot(); } return node; }, + + clearInnerCt : function(){ + this.innerCt.update(''); + }, + + // private + renderRoot : function(){ + this.root.render(); + if(!this.rootVisible){ + this.root.renderChildren(); + } + }, /** * Gets a node in this tree by its id @@ -747,10 +759,7 @@ new Ext.tree.TreePanel({ // private afterRender : function(){ Ext.tree.TreePanel.superclass.afterRender.call(this); - this.root.render(); - if(!this.rootVisible){ - this.root.renderChildren(); - } + this.renderRoot(); }, beforeDestroy : function(){ @@ -902,6 +911,15 @@ new Ext.tree.TreePanel({ /** * @cfg {String} contentEl @hide */ + /** + * @cfg {Mixed} data @hide + */ + /** + * @cfg {Mixed} tpl @hide + */ + /** + * @cfg {String} tplWriteMode @hide + */ /** * @cfg {String} disabledClass @hide */