13693261870
2022-09-16 354b3dbfbffb3df45212a2a44dbbf48b4acc2594
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Ext.define('GeekFlicks.view.Movies', {
    extend: 'Ext.grid.Panel',
    id: "movies_editor",
    alias: 'widget.movieseditor',
    store: 'Movies',
    initComponent: function () {
        //note: store removed 
        this.columns = [{
            header: 'Title',
            dataIndex: 'title',
            flex: 1
        }, {
            header: 'Year',
            dataIndex: 'year',
            flex: 1
        }];
        this.callParent(arguments);
 
    }
});