Extjs 任何查询字符串都可以上升和下降
为了处理按钮事件,我通常必须找到父容器的一些子容器。是否有任何方法可以使用Ext.ComponentQuery.query语法处理同级组件Extjs 任何查询字符串都可以上升和下降,extjs,extjs4.2,Extjs,Extjs4.2,为了处理按钮事件,我通常必须找到父容器的一些子容器。是否有任何方法可以使用Ext.ComponentQuery.query语法处理同级组件 var target=this->up('window')->down('combo'); // is there one step addressing method for up and down methods? 使用以下方法: this.nextSibling('combo')谢谢,但这不是我要找的。我想要的解决方案类似于此.query
var target=this->up('window')->down('combo'); // is there one step addressing method for up and down methods?
使用以下方法:
this.nextSibling('combo')代码>谢谢,但这不是我要找的。我想要的解决方案类似于此.query(“[up qeury][down query]”)
。顺便问一下,哪种方法可以用来搜索sibling而不考虑它们的顺序?没有方法可以做到这一点。