dimanche 19 avril 2015

How to adding the items in the group

Hello everybody.

Hi All,





I have a requirement of adding check boxes to check box group dynamically.

I tried with this code.Please help me...





xtype: 'checkboxgroup',

fieldLabel: '',

id: 'conditions',

labelSeparator: '',

itemCls: 'x-check-group-alt',

columns: 3,

items: [{}]













Code For adding items:

var ele = new Ext.form.Field({boxLabel: conditions[i]['name'], name: 'cb-auto-1'+i});

Ext.getCmp('conditions').add(ele);









Thank's a lot!





Regards,





How to adding the items in the group

Aucun commentaire:

Enregistrer un commentaire