Blame view

ihm/app/store/Frames.js 334 Bytes
346b85c6   Benjamin Renard   First commit with...
1
2
3
4
5
6
7
8
9
10
11
12
Ext.define('treps.store.Frames', {
	extend: 'Ext.data.Store',

	model: 'treps.model.Frame',

	sorters: [{
		property: 'id',
		direction: 'ASC'
	}],

	sortOnLoad: true,
	remoteSort: false,
346b85c6   Benjamin Renard   First commit with...
13
14
15
16
17
18
19
20
21
22
23
24
25

	proxy: {
		type: 'direct',
		reader : {
			type : 'json',
			root : 'frames'
		},
		api: {
			read    : "TREPSAction.getFramesList"
		}
	}

});