1. #1
    Ext User
    Join Date
    Mar 2008
    Location
    London, Ontario, Canada
    Posts
    16
    Vote Rating
    0
    cboden is on a distinguished road

      0  

    Default Dynamic recordType for JsonReader in Store

    Dynamic recordType for JsonReader in Store


    I'm creating a Store using a JsonReader and an HttpProxy. Is it possible to populate the JsonReader's recordType with data from the HttpProxy's return responseText?

  2. #2
    Ext User
    Join Date
    Mar 2008
    Location
    London, Ontario, Canada
    Posts
    16
    Vote Rating
    0
    cboden is on a distinguished road

      0  

    Default


    Ok, I've managed to create one, with only 1 remaining problem (that I can see for now).

    After the ajax request is made I put together the store. However, when I make an HttpProxy to add to the store I already have the initial data. Can I initially put this data into the Store without calling the proxy?

    Like setting the proxy to a memory proxy first time but updates call http instead of an array?

  3. #3
    Ext User
    Join Date
    Mar 2008
    Location
    London, Ontario, Canada
    Posts
    16
    Vote Rating
    0
    cboden is on a distinguished road

      0  

    Default


    woops, I somehow missed the data parameter.