I am looking for a way to access components / field that are either in the same items array as the accessing one or even only in a same parent items array (the last one is just a option).
In ExtJS3 this was easy by simply defining a ref
in the owner container but I didn't found anything like that in ExtJS4.
I know that I can use Ext.ComponentQuery()
or the shortcuts up()
/ down()
or even Ext.getCmp()
but they are all not what I am looking for, cause they just executes a bunch of code while the ref
was such an easy Way to do things.
Yes, I am aware of the fact that using a ComponentQuery is much more fail safe than the use of hard coded references. But I just want to know if there are some other ways to do this.