1. #1
    Sencha User mradochonski's Avatar
    Join Date
    May 2009
    Posts
    11
    Vote Rating
    0
    mradochonski is on a distinguished road

      0  

    Default ExtJS4 Grid

    ExtJS4 Grid


    Hi,

    How do I read and map (for Grid component) specific image object from JSON structure like this:

    Code:
    movie: { 
           title: 'The Matrix',
           posters: {
               { image url="path-to-poster1" id="1" },
               { image url="path-to-poster2" id="2" },
               { image url="path-to-poster3" id="3" }
           }
    }
    Thank you.
    Regards,
    Maciej Radochonski
    http://www.linkedin.com/in/mradochonski
    ----------------------------------------
    Any fool can write code that a computer can understand. Good programmers write code that humans can understand

  2. #2
    Sencha Premium Member danguba's Avatar
    Join Date
    Feb 2009
    Location
    Kragujevac, Serbia
    Posts
    383
    Vote Rating
    69
    danguba is a jewel in the rough danguba is a jewel in the rough danguba is a jewel in the rough

      0  

    Default


    That is not a valid JSON
    All Best
    ---
    Željko Mitrović
    http://skitanja.blogspot.com/

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." Martin Golding

Thread Participants: 1