However, this was not possible for my application architecture because the store had to be on autoLoad: true. It is possible to pass an extraParams config to a proxy.
Ext.define('myStore', { extend: 'Ext.data.Store', model: 'myModel', storeId: 'mystore', proxy: { type: 'rest', url: buildServiceUrl('users'), simpleSortMode: true, extraParams: { inclProps: '{userId, shortDesc}' }, reader: { type: 'json', root: 'data' }, writer: { nameProperty: 'mapping' } }, autoLoad: true });
This Code helped me.
ReplyDelete