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?

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.

Oh, and Ext.ComponentQuery.query can move an optional object that is used as the starting point for the query.

These are all basic (and clearly documented)

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -