PDA

View Full Version : Checkbox initially checked



coach
24 Jul 2010, 8:18 AM
I have a form panel that has a checkbox which I have set the checked property to true. The form is being loaded with a store and when the form gets loaded initially, the checkbox gets unchecked because the initial data coming in (which is a boolean) is false. How would I go about having the checkbox set to checked the first time the data is loaded?

Condor
25 Jul 2010, 5:17 AM
Just set it to setValue(true) again after the form has loaded (actioncomplete event).