iNes14
17 Jan 2012, 5:07 AM
Hello,
I need to get the selected value of a radiogroup.
My radiogroup :
var form =
{
xtype: 'radiogroup',
fieldLabel: 'Operator',
id:'radiogroup',
columns: 1,
items: [
{boxLabel:'<', name:'operator', inputValue:'<'},
{boxLabel:'=', name:'operator', inputValue:'='},
{boxLabel:'>', name:'operator', inputValue:'>'}
]
}
I have try this :
Ext.getCmp('radiogroup').getValue()
and
Ext.getCmp('radiogroup').getChecked()
But it returns an array : [object Object].
What's the problem?
Thank you
I need to get the selected value of a radiogroup.
My radiogroup :
var form =
{
xtype: 'radiogroup',
fieldLabel: 'Operator',
id:'radiogroup',
columns: 1,
items: [
{boxLabel:'<', name:'operator', inputValue:'<'},
{boxLabel:'=', name:'operator', inputValue:'='},
{boxLabel:'>', name:'operator', inputValue:'>'}
]
}
I have try this :
Ext.getCmp('radiogroup').getValue()
and
Ext.getCmp('radiogroup').getChecked()
But it returns an array : [object Object].
What's the problem?
Thank you