Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Threaded View

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    14
    Vote Rating
    0
    cuva is on a distinguished road

      0  

    Default Answered: Store && Json => Get data next to rootProperty

    Answered: Store && Json => Get data next to rootProperty


    Hi,

    I can't find a way to get the values of items that are siblings to the rootProperty in my json.

    For instance I have this json :

    Code:
    {
        "itemName":"Hello world",
        "users": [{
            "id":1,
           "name":"Ed Spencer",
          "email":"ed@sencha.com"
        }, {
           "id":2,
           "name":"Abe Elias",
            "email":"abe@sencha.com"
        }]
    }
    
    I'd like to map the users to my store, which works with rootProperty, however I cant find a way to retrieve the value of "itemName" from the reader. Is there a way ?

    Thanx for helping !

  2. Code:
    var reader=store.getProxy().getReader();
    reader.rawData.itemName

Thread Participants: 1

Tags for this Thread