0
votes

I like to set the proxy url dynamically before calling load() method of store as its like to append dynamic variable to URL can any oen help me out to achieve this

1

1 Answers

1
votes

Just get proxy from your store and then change the url of that proxy.

var yourStore= Ext.getStore('storename');
var proxy = yourStore.getProxy();
proxy.setUrl("new Url");