Ext JS boasts a powerful system to retrieve references to components called Component Queries. This is a CSS/XPath style query syntax that lets us target broad sets or specific components within our application. For example, within our controller, we may want to find a button with the text "Save" within a component of type MyForm.
In this section, we will demonstrate the Component Query syntax and how it can be used to select components. We will also go into details about how it can be used within
Ext.container.Container classes to scope selections.
Before we dive in, it is important to understand the concept of xtypes in Ext JS. An xtype is a shorthand name for an
Ext.Component that allows us to identify its declarative ...