Extjs Tree通过递归删除子节点
June 24th, 2008
No comments
Extjs Tree通过递归删除子节点信息:
function removeChildrenRecursively(node) {
if (!node) return;
while (node.hasChildNodes()) {
removeChildrenRecursively(node.firstChild);
node.removeChild(node.firstChild);
}
}
![[Google]]( http://wifihack.net/blog/wp-content/plugins/easy-adsense-lite/google-light.gif)
Recent Comments