Let's say I have a JSON store that is set up as shown below
var subAccountStore = new Ext.data.JsonStore({
autoLoad: true,
proxy: {
type:'ajax',
url : '/opUI/json/subaccount.action?name="ABC"'
},
fields: ['accountName', 'quantity','accountNumbers'],
listeners: {
load: function(store, records, success) {
// ???????
},
single: true
}
});
Here is an example of the data in this store:
[{"accountName":"'ABC'","quantity":100,"accountNumbers":['12345A','12345B','12345C']},{"accountName":"'XYZ'","quantity":100,"accountNumbers":['99999A','99999B','99999C']}]
I am wondering how to dynamically create a store for accountNumbers
and then assign it to a combo box within a grid?
Thank you, Tharahan