Extjs 使用 checkboxgroup 时无法获取到 group 中控件的问题
配置如下:
{
fieldLabel: '角色选择',
xtype: 'checkboxgroup',
items: [
{boxLabel: '测试1', name: 'f1'},
{boxLabel: '测试2', name: 'f1'},
{boxLabel: '测试3', name: 'f3'}
]
}
然后用 formPanel.getForm().findField('f1') 获取控件 f1,返回为 null。
我用的是 Ext 3.2,好像 Ext 2 也有这个问题。 继续阅读本文……

