Frames.js
334 Bytes
Ext.define('treps.store.Frames', {
extend: 'Ext.data.Store',
model: 'treps.model.Frame',
sorters: [{
property: 'id',
direction: 'ASC'
}],
sortOnLoad: true,
remoteSort: false,
proxy: {
type: 'direct',
reader : {
type : 'json',
root : 'frames'
},
api: {
read : "TREPSAction.getFramesList"
}
}
});