X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/docs/source/Tree.html
diff --git a/docs/source/Tree.html b/docs/source/Tree.html
index 630e9780..f4a0d53a 100644
--- a/docs/source/Tree.html
+++ b/docs/source/Tree.html
@@ -545,6 +545,20 @@ Ext.extend(Ext.data.Node, Ext.util.Observable, {
this.parentNode.removeChild(this, destroy);
return this;
},
+
+ /**
+ * Removes all child nodes from this node.
+ * @param {Boolean} destroy true to destroy the node upon removal. Defaults to false.
+ * @return {Node} this
+ */
+ removeAll : function(destroy){
+ var cn = this.childNodes,
+ n;
+ while((n = cn[0])){
+ this.removeChild(n, destroy);
+ }
+ return this;
+ },
/**
* Returns the child node at the specified index.