Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在一个循环中迭代很多元素,例如我想从那个循环中获取所有网格。如何检测元素是否为网格。
在这种情况下,getXType()和isXType() 方法Ext.Component很有用。
Ext.Component