Results 1 to 3 of 3

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

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Vote Rating

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


    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 :

        "itemName":"Hello world",
        "users": [{
           "name":"Ed Spencer",
        }, {
           "name":"Abe Elias",
    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();

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts