重写EXT树的双击事件,让双击不展开子节点
//重写树的双击事件,让双击不展开子节点
Ext.override(Ext.tree.TreeNodeUI, {onDblClick : function(e) {e.preventDefault();if (this.disabled) {return;}if (this.checkbox) {this.toggleCheck();}if (!this.animating && this.node.hasChildNodes()) {var isExpand = this.node.ownerTree.doubleClickExpand;if (isExpand) {this.node.toggle();};}this.fireEvent("dblclick", this.node, e);}});