hello guys,
I have a gridpanel inside a formpanel inside a window.
I have a button and a listener set up to tick teh bixes, but i cant seem to get the checkbox element.
Its enumerated so its like checks[0] checks[1] checks[40] checks[50] in the name field of the input.
I tried
Code:
click: function() {
Ext.each(Ext.getCmp('updateUserGroupsFormPanel').getForm().findField('checks'), function(){
alert('dd');
});
alert('dd');
}
i tried
Ext.getCmp('updateUserGroupsFormPanel').getForm().findField('checks')
in firebug it dosent get the checkboxes
i also tried findField('checks[]')
this works Ext.getCmp('updateUserGroupsFormPanel').getForm().getEl('checkbox')
Dosent work,
Thanks