git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git]
/
docs
/
source
/
TreePanel.html
diff --git
a/docs/source/TreePanel.html
b/docs/source/TreePanel.html
index
9572308
..
df77e13
100644
(file)
--- a/
docs/source/TreePanel.html
+++ b/
docs/source/TreePanel.html
@@
-527,12
+527,24
@@
new Ext.tree.TreePanel({
var uiP = node.attributes.uiProvider;
\r
node.ui = uiP ? new uiP(node) : new Ext.tree.RootTreeNodeUI(node);
\r
}
\r
var uiP = node.attributes.uiProvider;
\r
node.ui = uiP ? new uiP(node) : new Ext.tree.RootTreeNodeUI(node);
\r
}
\r
- if
(this.innerCt)
{
\r
- this.
innerCt.update(''
);
\r
- this.
afterRender
();
\r
+ if
(this.innerCt)
{
\r
+ this.
clearInnerCt(
);
\r
+ this.
renderRoot
();
\r
}
\r
return node;
\r
},
\r
}
\r
return node;
\r
},
\r
+
\r
+ clearInnerCt : function(){
\r
+ this.innerCt.update('');
\r
+ },
\r
+
\r
+ // private
\r
+ renderRoot : function(){
\r
+ this.root.render();
\r
+ if(!this.rootVisible){
\r
+ this.root.renderChildren();
\r
+ }
\r
+ },
\r
\r
/**
\r
* Gets a node in this tree by its id
\r
\r
/**
\r
* Gets a node in this tree by its id
\r
@@
-747,10
+759,7
@@
new Ext.tree.TreePanel({
// private
\r
afterRender : function(){
\r
Ext.tree.TreePanel.superclass.afterRender.call(this);
\r
// private
\r
afterRender : function(){
\r
Ext.tree.TreePanel.superclass.afterRender.call(this);
\r
- this.root.render();
\r
- if(!this.rootVisible){
\r
- this.root.renderChildren();
\r
- }
\r
+ this.renderRoot();
\r
},
\r
\r
beforeDestroy : function(){
\r
},
\r
\r
beforeDestroy : function(){
\r
@@
-902,6
+911,15
@@
new Ext.tree.TreePanel({
/**
\r
* @cfg {String} contentEl @hide
\r
*/
\r
/**
\r
* @cfg {String} contentEl @hide
\r
*/
\r
+ /**
\r
+ * @cfg {Mixed} data @hide
\r
+ */
\r
+ /**
\r
+ * @cfg {Mixed} tpl @hide
\r
+ */
\r
+ /**
\r
+ * @cfg {String} tplWriteMode @hide
\r
+ */
\r
/**
\r
* @cfg {String} disabledClass @hide
\r
*/
\r
/**
\r
* @cfg {String} disabledClass @hide
\r
*/
\r