PDA

View Full Version : Ext.form.Checkbox display bug in IE ?



craneleeon
13 Sep 2007, 7:00 PM
Ext 1.1
Ext.form.Checkbox

I use setValue() method, but when I set it to true, the Checkbox shows unchecked in IE6, In FF2 it shows checked.
Any Idea about this?

pjiou
7 Oct 2007, 5:39 AM
i have the same problem

craneleeon
7 Oct 2007, 10:24 PM
Any idea to handle this issue?

craneleeon
21 Oct 2007, 9:14 PM
I have a temporarly fix for this issue,


isgloble_show.on('check',function(thischkbx,checked){
//--------IE6 bug fix temporarly
if(Ext.isIE) {
var attr = document.createAttribute('checked');
if(checked){
attr.value = true;
}else{
attr.value = '';
}
thischkbx.container.dom.childNodes[0].childNodes[0].attributes.setNamedItem(attr);
}
//End-----IE6 bug fix tamparily------------
}
may this helps for those folks meets the same issue as I did.

oshcha
13 Nov 2007, 1:32 AM
Hi, have the same issue with checbox.setValue. On FF2 works fine but on IE it doesnt work? Is this workaround mentioned only solution for this issue?

tnx in advance

P.S.
I tried lot`s of other ways to do workaround like:
document.getElementById('cb').checked = true;
myCb.getEl().dom.checked = true;
etc ....
but really only workaround that worked for me was mentioned by craneleeon

P.P.S.

Does anybody know is IE and checkbox issue fixed in EXT 2.0 version.