Not entirely sure why, but when using ajax proxies, specifying the URL is not enough, the data won’t be displayed on lists/panels.
A reader must also be defined in the proxy, otherwise the data will not be read correctly
proxy: {
type: ‘ajax’,
url: ‘data.json’,
reader:{
type:’json’,
rootProperty: ‘DATA’
}
}
Make sure that
- the source data is working, test using Fiddler/POSTMan/etc
- The model’s fields match the fields in json data, case-sensitive.
- A reader is configured in the proxy
- rootProperty is set correctly and match the json data, case-sensitive.