Могу и ошибаться, по моему, в данном случае нужно создать Store и в него грузить.
Что-то типа:
Ext.define('Episode', {
extend: 'Ext.data.Model',
idProperty: 'Id',
fields: [
{name: 'AssetId', type: 'int'},
{name: 'Id', type: 'int'},
{name: 'Notes', type: 'string'},
{name: 'Number', type: 'int'},
{name: 'ProductionNumber', type: 'int'},
{name: 'SeasonId', mapping: 'Season.Id', type: 'int' },
{name: 'SeasonName', mapping: 'Season.Name', type: 'string' },
{name: 'SeasonDesc', mapping: 'Season.Description', type: 'string' },
{name: 'Title', type: 'string'}
]
});
var episodeStore = Ext.create('Ext.data.Store', {
model: 'Episode',
groupField: 'SeasonName',
pageSize: 50,
proxy: {
type: 'memory',
reader: {
type: 'json',
root: 'Episodes'
}
}
var episodeData = {
"Episodes": [{
"Id": 1,
"AssetId": 787656,
"Notes": "My notes",
"Number": 1,
"ProductionNumber": "0000000001",
"Season": {
"Id": 2,
"Description": "This is my Season No. 11",
"Name": "Season 11"
},
"SourceSystem": "My System",
"Title": "Episode Title 1"
},
{
"Id": 2,
"AssetId": 787656,
"Notes": "My notes",
"Number": 2,
"ProductionNumber": "0000000002",
"Season": {
"Id": 3,
"Description": "This is my Season No. 21",
"Name": "Season 21"
},
"SourceSystem": "My System",
"Title": "Episode Title 2"
},
....
]
}
и потом
episodeStore.loadData(episodeData);