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.