extjs4的radiogroup设值

xiaoxiao2021-02-28  114

Ext.define('cdkj.view.asda..CallRadiogroup',{ extend : 'Ext.form.RadioGroup', alias : 'widget.callRadiogroup', margin : '0 0 0 70', fieldLabel: '',     width: 160,     columns: 2,     vertical: false,          items: [{         name: 'processRadio',         inputValue: 1,         boxLabel: 'ok',         checked: true     },{         name: 'processRadio',         inputValue: 2,         boxLabel: 'noOk',         checked: false     }] });

radiogroup.setValue({'processRadio' : record.data.status});

转载请注明原文地址: https://www.6miu.com/read-48543.html

最新回复(0)