-
13 May 2009 6:06 AM #11
Finally, I thought of something : All my tests were on Host mode.
I make a test on web mode (with FF) : it's working fine.
That's all what I need.
I know that some widgets do not work correctly on hosted mode.
Thanks for your help.
-
13 May 2009 6:21 AM #12
A1ex, not at all!
But i test my appliction on FF, Opera and IE in host mode too, it works.
P.S. Sorry for my poor English.
-
13 May 2009 6:41 AM #13
hum ... You're right. My tests are KO on IE6.
So i don't know ...
May be the version. I don't try on 1.2.2.
Only 1.2.3 and 1.2.4.
I'm fed up, i will see that later.
ps : don't worry for your english.
-
23 Nov 2009 3:03 AM #14
I don't know if anybody is still wondering about this...
I found the need for this functionality myself, so I made a couple of overrides to the Ext.form.FieldSet component, which works great.
In the interest of sharing, perhaps somebody else can use this as well.
This introduces three new methods on the FieldSet class:Code:Ext.form.FieldSet.prototype.getCheckbox = function() { return this.checkbox; } Ext.form.FieldSet.prototype.getValue = function() { return this.getCheckbox().dom.checked; } Ext.form.FieldSet.prototype.setValue = function(value) { this.getCheckbox().dom.checked = value; this.onCheckClick(); }
- getCheckbox returns a html input type element
- getValue returns either true or false depending on the state of the checkbox
- setValue will set either true or false to the input type CHECKED attribute.

-
14 Dec 2009 6:02 AM #15
Is it possible to call setValue within getForm().loadRecord(..) ? It seems that the checkbox should be valid Ext field object to support loadRecord.
-
14 Dec 2009 6:03 AM #16


Reply With Quote