PDA

View Full Version : Issue with radiogroup xtype



13 Jan 2010, 6:58 AM
Hi All,

We are migrating from ExTJs 2.0 To ExtJS 3.0. We have migrated from xtype:radio to xtype:radiogroup.

We have one function that travers all the fields from the panel to get the data from different fields

Code snipet as follow


:
:
oForm=fp.getForm()
oForm.items.each(function(field){
:
:
:
some field traversing code

})



After migrating to xtype: radiogroup, I am not able to access the radio button controls from above code. Some how getForm() does not return me the object with radio button controls as a part of it. Can anybody know how to get radio button control (xtype:radiogroup) from the Dom using getForm

Regards
Amol Lokhande