radiogroup子项值的问题

    var issend = new Ext.form.RadioGroup({
                columnWidth : 1,
                name : 'sendids',
                id : 'issend',
                xtype : 'radiogroup',
                allowBlank : false,
                fieldLabel : '是否下发',
                items : [{
                            xtype : 'fieldset',
                            autoHeight : true,
                            width:130,
                            items : [{
                                        boxLabel : '已下发',
                                        name : 'sendids',
                                        inputValue : '1'
                                    },{
                                        boxLabel : '未下发',
                                        name : 'sendids',
                                        inputValue : '2'
                                    },{
                                        boxLabel : '全部',
                                        name : 'sendids',
                                        inputValue : '3',
                                        checked:true
                                       
                                    }]
                        }
                ]
            });

开始这3个值我写的是0,1,2结果不行,好像这里的值不能包括0;有待研究,先记下以后避免此类错误

刚接触ext,以为这些值是随意定的,看来不是。

实践是最好的学习方法

你可能感兴趣的:(ext)