【转】ExtJS获取父子、兄弟容器元素方法

原文地址:http://www.cnblogs.com/linxiong945/p/3961732.html

1.当前对象的父对象(上级对象) 
this.ownerCt: 

2.当前对象的下一个相邻的对象 
this.nextSibling(); 

3.当前对象的上一个相邻的对象 
this.previousSibling(); 

4.当前容器中的第一个子对象 
this.get(0); 
this.items.first(); 

5.当前容器的最后一个子对象 
this.items.last(); 

6.查找当前对象的所有上级匹配的容器 
this.findParentByType(String xtype) 

7.查找当前对象的所有下级匹配的组件 

this.findByType(String xtype)

原文地址:https://www.cnblogs.com/dirgo/p/6957884.html