I want to iterate lots of elements in a loop, for example I want to pick up all grids from that loop. How can I detect if elements is a grid or not.
In such a case, getXType() and isXType() methods of Ext.Component are useful.
Ext.Component