1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    7
    Vote Rating
    0
    dragem is on a distinguished road

      0  

    Default Unanswered: Treepanel in panel not showing the tree

    Unanswered: Treepanel in panel not showing the tree


    does anyone know why this isn't working?

    Code:
    var mainPanel = Ext.create('Ext.panel.Panel', {        
            id: 'mainPanel',
            width: '100%',
            height: '100%',
            layout: 'border',
            collapsible: false,
            renderTo: Ext.getBody(),
            items: [
                {
                    xtype: 'treepanel',
                    id:'naviPanel',
                    tbar: toolbar,
                    width: 250,
                    height: '100%',
                    region: 'west',
                    collapsible: false,
                    useArrows: true,
                    rootVisible: false,
                    store: naviStore,
                    multiSelect: true,
                    singleExpand: true
                },{
                    xtype: 'panel',
                    id:'contentPanel',
                    width: 500,
                    height: '100%',
                    region: 'center',
                    collapsible: false
                }
            ]
        });

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,910
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You are not specifying a height for your mainPanel. You are specify '100%' instead of height: 400
    If you want a panel the size of your client window, use Viewport.

    Viewport automatically renders to body, so there is no need to included that.

    Scott.

Thread Participants: 1

Tags for this Thread

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..."