1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    Mumbai, India
    Posts
    191
    Answers
    10
    Vote Rating
    0
    bomslang has a little shameless behaviour in the past

      0  

    Default Unanswered: Sencha Touch List not shown

    Unanswered: Sencha Touch List not shown


    I am trying to load the list in one of the tab of my application. But the list is not shown.

    Following is the code snippet of class where I have written the list.

    Code:
    Ext.define('MyApp.view.NavigateView', {
      extend: 'Ext.dataview.List',
      xtype: 'navigateview',
            
      config : {     
              fullscreen:true,
              scrollable:true,
              xtype:'list',    
              items : {
                  xtype:'toolbar',
                  docked:'top',
                  title:'List of Places'
              },
              ui:'round',
                store : {
                    fields : ['name','phoneno','place'],
                    data : [
                        {name:'ABC',phoneno:'1212323',place:'Hospital'},
                        {name:'DEF',phoneno:'42341234',place:'Hotel'},
                        {name:'XYZ',phoneno:'3225',place:'Library'},
                        {name:'LMO',phoneno:'5234234',place:'Hospital'},
                        {name:'PQR',phoneno:'423423',place:'Hospital'},
                        {name:'UVW',phoneno:'4234234',place:'Library'},
                    ],
                },
            itemTpl:'<div class="places">{name}  Call at : {phoneno}</div>'    
       }    
    });
    xtype:'navigateview' is the my custom xtype for this class.

    Following error is thrown when I see chrome console ..

    Uncaught ReferenceError: newSrc is not defined sencha-touch-all-debug.js:58761

  2. #2
    Sencha User
    Join Date
    Aug 2011
    Location
    Plymouth, UK
    Posts
    137
    Answers
    5
    Vote Rating
    -2
    simondavies has a little shameless behaviour in the past

      0  

    Default


    it references 'newSrc' which is not on this class/code above. Could you post the tabs page as well so we can see the workings

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    Mumbai, India
    Posts
    191
    Answers
    10
    Vote Rating
    0
    bomslang has a little shameless behaviour in the past

      0  

    Default


    No, newSrc is not defined / used anywhere in my entire application. If I simply delete this code and user some form fields inside this tab, the error doesn't show up.

    Why is it happening for list only ?

    Am I writing something wrong here ? List is not showing up ?

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