1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    3
    Vote Rating
    0
    xuejinruan is on a distinguished road

      0  

    Default Unanswered: create a tree panel from a local json file

    Unanswered: create a tree panel from a local json file


    I was trying to populate a tree panel from a local json file, but could not get it work. It seems if the json was return by a remote proxy call, it would work; and if I defined a json variable in the javascript file as the children node, it would work. But I could not get it working trying to pull it from an external (local) json file. Could someone give an example how to create a treestore from a local json file, or how to populate a tree panel from a local json file? Thanks!

  2. #2
    Sencha User loiane's Avatar
    Join Date
    Aug 2009
    Posts
    183
    Answers
    7
    Vote Rating
    52
    loiane is a jewel in the rough loiane is a jewel in the rough loiane is a jewel in the rough

      0  

    Default


    To load files locally, you have to deploy your app into a server.
    The only way to do it without deploying to a server is to use a local array and load it into the store.
    Sencha/Java evangelist
    Author of ExtJS 4 First Look and Mastering Ext JS books
    English blog: http://loianegroner.com
    Portuguese blog: http://loiane.com
    Sencha Examples: https://github.com/loiane

Thread Participants: 1

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