1. #1
    Sencha User env0ke's Avatar
    Join Date
    Apr 2011
    Posts
    57
    Answers
    2
    Vote Rating
    1
    env0ke is on a distinguished road

      0  

    Question Answered: JSON navigation for grid

    Answered: JSON navigation for grid


    Hi all

    I write REST API and his return json format. For example:
    Code:
    [
        {
             "first_name": "John",
             "last_name": "Smith",
             "location": {
                 "country": "Canada",
                 "post_code": "12345"
             }
        }
    ]
    How i can navigate to "country" and "post_code" in my Grid (or model for Store)? If i write name for field "location.country" or "location['country']" id don't work. Sorry of my bad english.

  2. Promlem solved. Use "mapping" feature in my store.

  3. #2
    Sencha User env0ke's Avatar
    Join Date
    Apr 2011
    Posts
    57
    Answers
    2
    Vote Rating
    1
    env0ke is on a distinguished road

      0  

    Thumbs up


    Promlem solved. Use "mapping" feature in my store.

Tags for this Thread