开发者

Get selected radio button from radio group (ExtJS)

I'm looking for proper function in ExtJS which will bring me back a selected radio button 开发者_StackOverflowfrom radio group, is there anything like that?


On Ext.form.BasicForm there is a method called getValues() you can pass the id of the control and it will return its value

formPanel.getForm().getValues()['radioGroup'];


thanks for all, who helped me to find out the tricky one.. here is my solution

Ext.getCmp('form_window_id').getForm().getValues(['radioGroup_id']).groupname

it works fine in ExtJs3.4...

--Ashish

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜