1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    14
    Vote Rating
    0
    gel87 is on a distinguished road

      0  

    Default No Request from AjaxProxy to server

    No Request from AjaxProxy to server


    Dear all,

    I've tried the following:
    Created a TreePanel
    Created a TreeStore
    Created a Model
    Added data manually to the Store
    => TreePanel was displayed correctly

    Removed data from the store
    Added an ajax proxy
    => The url is not requested and no data ist displayed.

    What could be the reason?

    Here is my code:
    Code:
    Ext.define('PM.store.Projects', {
        extend: 'Ext.data.TreeStore',
        model: 'PM.model.Project',
        autoLoad: true,
    
        proxy: {
            type: 'ajax',
            url: 'data/projectTree.json',
        },
    });

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    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 would have to post your JSON and update your reader based on the data

    example
    Code:
    proxy: {
        type: 'ajax',
        url: 'tree.json',
        reader: {
            type: 'json',
            root: 'children'
        }
    }
    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..." hd porno faketaxi