【发布时间】:2013-06-07 01:17:32
【问题描述】:
我有一个 xtype “复选框”,我想通过动态更改 boxlabel
{
xtype:'checkbox',
id: 'abc',
checked: false,
uncheckedValue: '0',
inputValue: 1,
boxLabel: 'change',
name:'abc'
}
我使用
Ext.getCmp('abc').setBoxLabel('not working'); // it's not working
或
Ext.getCmp('abc').update('loss checkbox'); // it's working but checkbox's disappear.
我该怎么做?谢谢
【问题讨论】: