A proxy's reader
has a config called root
, which defines where the actual data is when you have top level fields like success
.
Since your data is under "Root"
, you should define your reader like so:
reader: {
type: 'json',
root: 'Root'
}
Alternatively, you can use the default root
, which is data
. So in your json change "Root"
to "data"
.
By the way, the standard way to define a model is:
Ext.define('bkmark', {
extend: 'Ext.data.Model',
fields : ['name', 'element']
});