-
17 Sep 2010 9:40 AM #1
Dynamic set the url proxy of a DataStore
Dynamic set the url proxy of a DataStore
Is it possible to dynamic change the proxy url config of a DataStore?
this for example is the initial setup of the Datastore, i want to change the url to pass another distance for example and update the datastoreCode:var peopleStore = new Ext.data.Store({ model : 'peopleModel', autoLoad : true, proxy : { type : 'ajax', url : 'php/people.php?username=test&distance=100', reader : { type : 'json', root : 'people' } } });
-
17 Sep 2010 10:08 AM #2
Solved!
Solved!
Sorry, i solved...
Code:store.proxy.url = 'foo';
Similar Threads
-
Datastores is it url or is it proxy?
By Elijah in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 19 Jan 2011, 3:51 PM -
Proxy dynamic url
By g13013 in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 16 Jun 2009, 2:31 AM -
DataStore Proxy used in different places
By mcohnen in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 5 Feb 2008, 3:49 AM


Reply With Quote