1. #1
    Ext User
    Join Date
    Aug 2008
    Posts
    12
    Vote Rating
    0
    extnewbie is on a distinguished road

      0  

    Default Dynamic creation of ext objects from json data

    Dynamic creation of ext objects from json data


    Hi,

    Is there anyone who knows a good way to convert json data (from the server) into ext objects (panels, textfields, buttons, etc.) at runtime?. Is there a easy way to do this in Extjs?

    Thanks!

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    56
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Depends what it looks like. If you send correct config objects with embedded xtypes, you can pass it straight into http://extjs.com/deploy/dev/docs/?cl...&member=create

  3. #3
    Ext User
    Join Date
    Aug 2008
    Posts
    12
    Vote Rating
    0
    extnewbie is on a distinguished road

      0  

    Default


    Ok, thanks for the answer. I will try that.

Thread Participants: 1