I enabled a checkbox and saved it.But while retriving for editing that checkbox is not enabling or ticking.

My code.


var form3 = new Ext.FormPanel({
labelWidth : 150,
defaultType: 'radio',
border:false,
bodyStyle : 'padding: 5px',
defaults : {
border : false,
},

items:[{
xtype: 'label',
id: 'RelatedSection',
name: 'Related Section',
text: 'Related Section',
},
{
xtype: 'checkbox',
id: 'relatedSection',
disabled : isOnUpdate,
value : Ext.getCmp('relatedSection').setValue(),
handler: function() {
if(this.getValue() == true)
{
formfield1.container.up('div.x-form-item').show();
formfield2.container.up('div.x-form-item').show();
}
else
{
formfield1.container.up('div.x-form-item').hide();
formfield2.container.up('div.x-form-item').hide();
}
}
},



please tell me how to tick this checkbox according to the db stored value.