clabasky
7 Sep 2011, 2:44 PM
I'm trying to dynamically load the url proxy of an Ext.data.Store.
a user would enter a zipcode into a field, and the zipcode would be loaded into the url proxy, it would look something like this
ListStore = new Ext.data.Store({
model: 'currentpost',
proxy: {
type: 'ajax',
url: '(zipcode entered from field goes here).json',
reader: {
type: 'json'
}
}
});
there would be .json files saved that would correspond to the zipcode specified.
Any help on how I could make this work would be awesome!!!!:D
a user would enter a zipcode into a field, and the zipcode would be loaded into the url proxy, it would look something like this
ListStore = new Ext.data.Store({
model: 'currentpost',
proxy: {
type: 'ajax',
url: '(zipcode entered from field goes here).json',
reader: {
type: 'json'
}
}
});
there would be .json files saved that would correspond to the zipcode specified.
Any help on how I could make this work would be awesome!!!!:D