Get the selected radio button from the radio group (ExtJS)

I am looking for a suitable function in ExtJS that will return the selected radio button from the radio group to me, is there anything similar?

+4
source share
2 answers

Ext.form.BasicForm has a method called getValues ​​() that you can pass to the identifier of the control and it will return its value

formPanel.getForm().getValues()['radioGroup']; 
+5
source

thanks to everyone who helped me find the tricky ... here is my solution

Ext.getCmp ('form_window_id'). GetForm (). GetValues ​​(['radioGroup_id']). Group_name

it works fine in ExtJs3.4 ...

- Ashish

0
source

All Articles