Here is my Extjs onReady function
var store = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({
url: '/loginjson.json'
}),
reader: new Ext.data.JsonReader(
{root: 'row', fields:['dblist']}
)
});
store.load();
and here I'm using it in my FormPanel like
renderTo: document.getElementById("loginform"),
title: "Login Form",
items: [{
xtype: 'combo',
fieldLabel: 'genre',
name: 'genre',
store: store,
autoLoad: true,
displayField: 'dblist',
}
and JSON URL of django returns like this
http://localhost:8000/loginjson.json
{"row": [{"dblist": "datalist"}]}
but my combobox is not filled I'm missing somewhere on extJS but couldn't found.