57
rated 0 times
[
63]
[
6]
/ answers: 1 / hits: 36542
/ 15 Years ago, mon, december 21, 2009, 12:00:00
How to get the value of a check box?
var tb = new Ext.Toolbar();
tb.add({
xtype: 'checkbox',
boxLabel: 'Expand Groups by Default',
id: 'GetChkBoxValue',
checked: true,
handler: function() {
alert(this.getValue())
}
});
Is it possible to get the value of the checkbox outside tb.I have done something like this but it is not firing
Ext.getCmp('GetChkBoxValue').getValue();
More From » extjs