データベースからチェックボックスグループを作成する必要があります。メソッド #populateObrasSociales(anArrayOfChkbox) があります。このメソッドのコードは次のとおりです。
populateObrasSociales: function(anArrayOfChkBox){
var chkGrp = Ext.create('Ext.form.CheckboxGroup',{
columns: 1,
vertical: true,
items: anArrayOfChkBox
});
}
anArrayOfCheckBox は次のとおりです。
["{name:IOMA,boxLabel:IOMA,inputValue:1}", "{name:OSPE,boxLabel:OSPE,inputValue:2}"]
When、FireBugが言うフォームを示します:
TypeError: undefined をオブジェクトに変換できません
何か案は ?。ありがとう !。