X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/View2.html diff --git a/docs/source/View2.html b/docs/source/View2.html index 4208d8a6..371b0357 100644 --- a/docs/source/View2.html +++ b/docs/source/View2.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.tree.View
* @extends Ext.view.Table
*/
@@ -15,12 +32,12 @@ Ext.define('Ext.tree.View', {
blockRefresh: true,
- /**
+ /**
* @cfg {Boolean} rootVisible <tt>false</tt> to hide the root node (defaults to <tt>true</tt>)
*/
rootVisible: true,
- /**
+ /**
* @cfg {Boolean} animate <tt>true</tt> to enable animated expand/collapse (defaults to the value of {@link Ext#enableFx Ext.enableFx})
*/
@@ -247,7 +264,7 @@ Ext.define('Ext.tree.View', {
var me = this,
animWrap;
- if (!me.animate) {
+ if (!me.rendered || !me.animate) {
return;
}
@@ -322,7 +339,7 @@ Ext.define('Ext.tree.View', {
var me = this,
animWrap;
- if (!me.animate) {
+ if (!me.rendered || !me.animate) {
return;
}
@@ -375,7 +392,7 @@ Ext.define('Ext.tree.View', {
animWrap.isAnimating = true;
},
- /**
+ /**
* Checks if a node is currently undergoing animation
* @private
* @param {Ext.data.Model} node The node
@@ -412,7 +429,7 @@ Ext.define('Ext.tree.View', {
return data;
},
- /**
+ /**
* Expand a record that is loaded in the view.
* @param {Ext.data.Model} record The record to expand
* @param {Boolean} deep (optional) True to expand nodes all the way down the tree hierarchy.
@@ -423,7 +440,7 @@ Ext.define('Ext.tree.View', {
return record.expand(deep, callback, scope);
},
- /**
+ /**
* Collapse a record that is loaded in the view.
* @param {Ext.data.Model} record The record to collapse
* @param {Boolean} deep (optional) True to collapse nodes all the way up the tree hierarchy.
@@ -434,7 +451,7 @@ Ext.define('Ext.tree.View', {
return record.collapse(deep, callback, scope);
},
- /**
+ /**
* Toggle a record between expanded and collapsed.
* @param {Ext.data.Record} recordInstance
*/
@@ -472,7 +489,7 @@ Ext.define('Ext.tree.View', {
e.getTarget(this.cellSelector, 10, true).removeCls(this.expanderIconOverCls);
},
- /**
+ /**
* Gets the base TreeStore from the bound TreePanel.
*/
getTreeStore: function() {
@@ -489,4 +506,6 @@ Ext.define('Ext.tree.View', {
});
}
}
-});
\ No newline at end of file
+});
+
+