PDA

View Full Version : Button toggleGroup group not working in IE browser



asifu9
13 Sep 2012, 3:41 AM
Hi All,

I am new to sencha framework and i need help on button toggleGroup.

Button toggle group feature is working in Mozilla Firefox, but not working in IE. Is there any other way to implement this feature work in IE?

Need your help.

Thanks

Regards,
Asif

mitchellsimoens
17 Sep 2012, 9:05 AM
This is working for me in IE9:


new Ext.container.Viewport({
items : [
{
xtype : 'button',
text : 'Foo 1',
toggleGroup : 'foo'
},
{
xtype : 'button',
text : 'Foo 2',
toggleGroup : 'foo'
}
]
});

asifu9
17 Sep 2012, 10:34 AM
Hi Mitchell

Thanks for the reply, here is my code and its not working in IE9.
We are looking to make it work in IE7/8/9.

Or, can we change the Button back ground color on clicked button and set other button to normal color?

here is the code which is not working in IE 9.

items: [
{
xtype: 'button',
width: 195,
height: 32,
text: 'test1',
itemId: 'btntest1',
textAlign: 'left',
// enableToggle: true,
// pressedCls: 'btn-pressed',
toggleGroup: 'ratings'
},
{
xtype: 'button',
width: 195,
height: 32,
text: 'test2',
itemId: 'btntest2',
textAlign: 'left',
// enableToggle: true,
// pressedCls: 'btn-pressed',
toggleGroup: 'ratings'

},
{
xtype: 'button',
width: 195,
height: 32,
text: 'test3',
itemId: 'btntest3',
textAlign: 'left',
//enableToggle: true,
toggleGroup: 'ratings'
// pressedCls: 'btn-pressed'
}


Need your help on this.

Thanks,
Asif

asifu9
1 Oct 2012, 2:42 AM
All, Any update for this thread?

asifu9
2 Oct 2012, 5:36 AM
All,

Its working now, please follow this link if in case you too face the IE issue for toggle button.
http://www.sencha.com/forum/showthread.php?242604