PDA

View Full Version : Put radiobutton checked through the JsonReader



masterlog
24 Feb 2016, 4:11 AM
I have a problem that is I don't know how you put a radio button checked through the result I get the JsonReader.


...
reader: new Ext.data.JsonReader( {
root : 'date',
successProperty: 'success'
},
['profile_name','language'],
),
items:[
{
xtype : 'textfield',
fieldLabel : __('Name'),
name : 'profile_name',
id : 'profile_name',
allowBlank : false,
anchor : '100%',
enableKeyEvents : true
},
{
xtype: "radiogroup",
fieldLabel: __("Language"),
width: '300',
name : 'language',
id: "language",
defaults: {xtype: "radio",name: "Languages",height:'40'},
items: [
{
boxLabel: "FR",
inputValue: 1
},
{
boxLabel: "EN",
nputValue: 2,
}
]
},
...

Gary Schlosberg
24 Feb 2016, 6:34 AM
Duplicate: https://www.sencha.com/forum/showthread.php?309041

masterlog
24 Feb 2016, 8:24 AM
Sorry I already reported