1. #1
    Sencha User
    Join Date
    Feb 2010
    Location
    Australia, Brisbane
    Posts
    22
    Vote Rating
    1
    Brett889 is on a distinguished road

      0  

    Default How to add Field to Navigation Bar

    How to add Field to Navigation Bar


    I can add a Field to a Navigation Bar in code, but I cannot do it via Architect. It does allow me to add Buttons and Labels though.

    Is there some trick to getting this to work?

    If I can't do it through Architect drag-n-drop, is there some way to add the code in Architect?

    Thanks,
    Brett.

  2. #2
    Sencha User
    Join Date
    Feb 2010
    Location
    Australia, Brisbane
    Posts
    22
    Vote Rating
    1
    Brett889 is on a distinguished road

      0  

    Default Override

    Override


    I've figured out how to add the field using an override. It would still be good to find a way that doesn't rely on this though.

    Code:
    Ext.define('App.view.override.MainContainer', {
        override: 'App.view.MainContainer',
        constructor: function (config) {
            var navBar;
            
            this.callParent(arguments);
            
            navBar = this.getNavigationBar();        
            
            navBar.add({
                xtype: 'selectfield',
                options: [
                    {
                        text: 'Dashboard',
                        value: 'Dashboard'
                    },
                    {
                        text: 'Clients',
                        value: 'Clients'
                    },
                    {
                        text: 'Advanced Search',
                        value: 'AdvancedSearch'
                    }
                ]
            });
         }
        
    });

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