I want to create a generic Extjs store for combo boxes.
The store should be able to:
- Take a URL
- Read data using a proxy from the server
- Should work for any model
How can I achieve this?
This is what I have for start:
Ext.create('Ext.data.Store', {
proxy: {
type: 'ajax',
url: rawURL,
reader: {
type: 'json'
}
}
})
Using ExtJS 4.1