-
12 Apr 2012 1:18 PM #1
Dynamically load my data
Dynamically load my data
Hi ,
I tried to follow a couple of threads but was unable to figure it out.
I have a list named ProductList
it has a store ProductsStore. which is a json Store
But I have many url configs for Product Store.
I dont know how to set the url field dynamically using a controller.So that
sometimes url is a.json
and sometimes it is b.json
Please help me
thanks
-
12 Apr 2012 2:26 PM #2
I think I solved it
solved itCode:var store = Ext.data.StoreManager.lookup('TransactionStoreCust'), url = 'a.json'; store.getProxy().setUrl(url); store.load();
I am starting to love Sencha Designer
-
12 Apr 2012 2:32 PM #3
Thanks for taking the time to post the answer for others to benefit.
Aaron Conran
@aconran
Sencha Architect Development Team


Reply With Quote