Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Dec 2009
    Location
    chennai
    Posts
    25
    Vote Rating
    0
    veerai2i is on a distinguished road

      0  

    Default How to tick a checkbox in FormPanel while editing,according to the stored value.

    How to tick a checkbox in FormPanel while editing,according to the stored value.


    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.

  2. #2
    Sencha Premium Member
    Join Date
    Feb 2011
    Location
    Amsterdam
    Posts
    52
    Vote Rating
    -4
    sblommers is infamous around these parts

      0  

    Default


    Does not look like Ext GWT you are posting here. Are you sure you are posting this in the correct forum?

Thread Participants: 1