+ -
当前位置:首页 → 问答吧 → ExtJS单选按钮怎么使用???

ExtJS单选按钮怎么使用???

时间:2011-12-07

来源:互联网

JScript code
var employeegroud = new Ext.form.RadioGroup({
                fieldLabel : '职工性别',
                autoHeight : true,
                width : 250,
                items : [new Ext.form.Radio({
                                    id : 'male',
                                    name : 'employeeSex',
                                    checked : true,
                                    width : '50',
                                    boxLabel : ''
                                }), 
                        new Ext.form.Radio({
                                    id : 'female',
                                    name : 'employeeSex',
                                    width : '50',
                                    boxLabel : ''
                                })]
            });



我用上面的,但firebug报错:
Ext.form.RadioGroup is not a constructor
 boxLabel : '女' 

怎么单选按钮怎么使用,包括取值赋值????

作者: aihuaying   发布时间: 2011-12-07

用的Extjs是什么版本的?

作者: hookee   发布时间: 2011-12-07

引用 1 楼 hookee 的回复:

用的Extjs是什么版本的?


我用的是ext-3.4.0

作者: aihuaying   发布时间: 2011-12-07