【发布时间】:2012-12-06 14:41:22
【问题描述】:
我得到检查数据字符串:“box0,box15,box30,box45”
Sencha 文档说,我可以这样设置值(复选框 id 和 name 与上面相同)
// use comma separated string to set items with name to true (checked)
myCheckboxGroup.setValue('cb-col-1,cb-col-3');
我想以这种方式设置我的盒子,但不能。你对此有什么想法吗?
【问题讨论】:
-
你能发布更多代码吗?显示您对
Ext.Create的呼叫或您的复选框组的配置