给定这样的组件:
{xtype: 'textfield', name: 'title', fieldLabel: 'Title', autoFocus: true}
是否可以查询任意容器(例如窗口)中具有autoFocus调用方法的属性的所有项目.focus(...)?
试过...
'[autoFocus]'
'*[autoFocus]'
'*[autoFocus=true]'
...与component.down和Ext.ComponentQuery.query(和其他人),但没有运气。