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.

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    30
    Vote Rating
    0
    namrms is on a distinguished road

      0  

    Default change config on combo at runtime

    change config on combo at runtime


    Hi ,

    I would like to keep a combo box component non editable initially(at this point the store is not loaded), Make it editable only on load of the corresponding store.

    How do I change the config on the fly ?

    Regards,
    Namratha

  2. #2
    Sencha User Legolas's Avatar
    Join Date
    Apr 2010
    Location
    Brazil/MG
    Posts
    58
    Vote Rating
    3
    Legolas is on a distinguished road

      0  

    Default


    Hi namrms,

    Do you tried use the method sertEditable? Like below:
    Code:
    var combo = Ext.create('Ext.form.ComboBox', {
         fieldLabel: 'State'
        ,store: yourStore
        ,queryMode: 'local'
        ,displayField: 'name'
        ,valueField: 'id'
        ,renderTo: Ext.getBody()
        ,editable: false
        ,onLoad: function() {
            var me = this;
    
    
            me.setEditable(true);
    
    
            me.callParent(arguments);
        }
    });
    I am sorry my english, I am learning yet
    Portuguese blog: http://wessdevel.blogspot.com.br/
    Twitter: @wlegolas

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    30
    Vote Rating
    0
    namrms is on a distinguished road

      0  

    Default


    yes I tried that. This seems to be working well on firefox but with IE8 it does not become editable again.

  4. #4
    Sencha User Legolas's Avatar
    Join Date
    Apr 2010
    Location
    Brazil/MG
    Posts
    58
    Vote Rating
    3
    Legolas is on a distinguished road

      0  

    Default


    I tested it and it worked in version ExtJS4.1.1, but in version ExtJS4.0.7 it not worked. If you use an earlier version of the ExtJS4.1.1 it will not work.
    I am sorry my english, I am learning yet
    Portuguese blog: http://wessdevel.blogspot.com.br/
    Twitter: @wlegolas

Thread Participants: 1

Tags for this Thread