1. #1
    Sencha User
    Join Date
    Apr 2012
    Location
    Chennai
    Posts
    7
    Vote Rating
    0
    spriya is on a distinguished road

      0  

    Default Problem in display data in browser

    Problem in display data in browser


    Hi,
    Am new sencha touch i have to load a data in list from webservice .The data should be display in desginer but it is not display in browser.

    Please can anyone help me............

    Thanks.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,188
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Did you load the store by calling store.load or setting the autoLoad property?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Location
    Chennai
    Posts
    7
    Vote Rating
    0
    spriya is on a distinguished road

      0  

    Default


    Hi,

    Thanks for reply.Yes autoLoad property is set to true only.Anyhow it is not working.

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,188
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Are any errors thrown on the console? Is it making a request?

    Can we see your Store configuration?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Location
    Chennai
    Posts
    7
    Vote Rating
    0
    spriya is on a distinguished road

      0  

    Default


    This is the code which i am handling with.

    Store.js

    Ext.define('MyApp.store.MyStore', {
    extend: 'Ext.data.Store',
    config: {
    autoLoad: true,
    storeId: 'MyStore',
    fields: [
    {
    name: 'CountryId'
    },
    {
    name: 'CountryName'
    }
    ],
    proxy: {
    type: 'ajax',
    url: 'http://192.168.0.60:4466/RestDataService/Country',
    reader: {
    type: 'xml',
    record: 'CountryDTO'
    }
    },
    });


    List.js


    Ext.define('MyApp.view.MyList', {
    extend: 'Ext.dataview.List',
    config: {
    height: 235,
    ui: 'round',
    width: 263,
    store: 'MyStore',
    itemTpl: [
    '<div class="MyStore">{CountryId}<br>{CountryName}</div>'
    ]
    }
    });

  6. #6
    Sencha User
    Join Date
    Dec 2011
    Location
    Coimbatore
    Posts
    103
    Vote Rating
    -1
    venkatesh.R will become famous soon enough

      0  

    Default Display data in browser

    Display data in browser


    @spriya

    Please refer this thread , adding model config may resolve this issue.

    http://www.sencha.com/forum/showthread.php?202871-List-data-is-not-viewable-in-browser-and-android-simulator.


    T
    hanks.

Thread Participants: 2

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