extjs - Query for child component with a specific xtype -
Is there a method for querying a child component of xtype 'myxtype'? For example, you have a panel, and there is a custom proxy located on a toolbar inside this panel.
The searcher works great to type backups, but there is no method like FindBildType and the method below only works on the elements Ext.ComponentQuery is a singleton, but not for xtypes? Another way to ask about the component?
Oh, and These are all basic (and clearly documented) yourCt.down
yourCt .child will do the same, but is limited to children directly, the first example of a container with the specified type of component children and lineage will be found. Container.
yourCt.query will be all of matching components under the container as an array.
yourCt.up will be available to the guardian before the matching container.
Ext.ComponentQuery.query can move an optional object that is used as the starting point for the query.
Comments
Post a Comment