1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    4
    Vote Rating
    0
    runadkat is on a distinguished road

      0  

    Exclamation How to loop through all fields within proxy object inside directproxy CRUD methods?

    How to loop through all fields within proxy object inside directproxy CRUD methods?


    I am using direct proxy with CRUD api configured to read data from server. The proxy is used along with a model attached to store. When my read method gets called in proxy, I would like to get model and iterate through all fields to decide what data to request from server. I tried using getModel() within proxy object but it does not let me iterate through fields. If I create an instance of the model object inside the proxy read method, I can see 'fields' within the object instance, however it includes all the fields (defined by extjs) and not only what I define in my model. Any help is appreciated.

  2. #2
    Sencha User
    Join Date
    Mar 2013
    Posts
    1
    Vote Rating
    0
    rahulraj26 is on a distinguished road

      0  

    Default I am having the same problem

    I am having the same problem


    I am having the same problem can any one help?

Thread Participants: 1