Threaded View

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    29
    Answers
    2
    Vote Rating
    0
    jerrysolomon is on a distinguished road

      0  

    Default Answered: DataView inside of other containers

    Answered: DataView inside of other containers


    Hi. Noob here. Trying to create a tab panel app, with each panel containing a dataview. I've got the dataview working, grabbing json data from a .ashx handler and can render the dataview to the viewport. I've got the dataview in a separate js file in the view folder. However, I can't seem to find the right syntax to incorporate the dataview as an item in the tab panel (defined in a separate view js file). I've tried every combo I can think up as Ext. create and xtype. Any help would be greatly appreciated!
    Thanks.

  2. Code:
    Ext.define("Sencha.view.Main", {
        extend: 'Ext.tab.Panel',
        xtype: 'main',
     requires: 'Sencha.view.DView1',
        config: {
            tabBarPosition: 'bottom',
       items: [  
       //Ext.create('Sencha.view.DView2'),     
               {
                    title: 'Welcome',
                    iconCls: 'home',
        xtype: 'dview1' 
               },
                     {
                    title: 'Get Started',
                    iconCls: 'action',
                    html: 'another tab'
                }
            ]   
        }
    });

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..." hd porno faketaxi