How to inspect arbitrary Ext component on the screen from Chrome console?
Open Chrome's developer tools (F12) and select the Magnifying Glass icon to select a DOM element within the page:
image-1.png
Click the component on the page you are looking for, and it will be highlighted in the Elements tab of the Chrome toolbar. If you haven't found the correct component, navigate the DOM in the Elements tab to find it. Every Ext.Component
has an automatically generated id
that begins with ext-comp-
. Copy this id
.
image-1.png
Go to the Console
tab and select the correct frame for your tab (Ext tabs are opened with renderPanel.jsp
):
image-1.png
Use Ext.getCmp('id')
in the Console
to retrieve the component:
image-1.png