I need some help with creating a fiddle that loads data from a json file. I'm not sure why the data is not loading properly.
You can view my fiddle here: Fiddle
This is my code for the data store:
Ext.create('Ext.data.Store', {
storeId: 'Ajax_Store',
proxy: {
type: 'ajax',
url : 'emp.json',
reader: {
type: 'json',
rootProperty:"Emp"
}
},
autoLoad : true,
fields: ['E_ID','E_FName','E_LName','E_Place']
});