1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    28
    Answers
    1
    Vote Rating
    2
    ratmat2000 is on a distinguished road

      0  

    Default Unanswered: How to override xtype config variables

    Unanswered: How to override xtype config variables


    Is it possible to override the default config in my custom xtype class when I create an instance of it in the items block of another class's config?


    For example:

    Code:
    Ext.define('MyClass', {
        xtype: 'myclass',
        config: {
            someConfig: 10,
        }
    });
    Then I include an instance of this class as a component in another's class's items config block:

    Code:
    Ext.define('SomeOtherClass', {
        extend: 'Ext.Panel',
        config: {
            items: [{
                xtype: 'myclass',
                someConfig: 15, // this override doesn't work!
                config: {
                    someConfig: 20 // this override doesn't work either!
                }
            }]
        }
    });
    I can't seem to get this to work but of course all of the default xtypes included with Sencha Touch allow this.

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    28
    Answers
    1
    Vote Rating
    2
    ratmat2000 is on a distinguished road

      0  

    Default


    Nevermind, it's working now....

  3. #3
    Sencha User
    Join Date
    Aug 2014
    Posts
    2
    Vote Rating
    0
    meeravi9 is on a distinguished road

      0  

    Default


    Do we can override config variables in EXTJS?

  4. #4
    Sencha User
    Join Date
    Aug 2014
    Posts
    2
    Vote Rating
    0
    meeravi9 is on a distinguished road

      0  

    Default


    Columns selector i need to disable dragable for that i need to override config varialbe 'ddReorder' in Ext.ux.form.MultiSelect class.Is this possible?

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi