comparison app/model/MessprogrammList.js @ 751:704bb359c0fe

dynamically exchange the store of the resultfiltergrid
author Dustin Demuth <dustin@intevation.de>
date Tue, 28 Apr 2015 16:03:59 +0200
parents
children f73ca04d73a7
comparison
equal deleted inserted replaced
750:561ade69980e 751:704bb359c0fe
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */
8
9 /**
10 * A MessprogrammList.
11 * This class represents the result list of 'Messprogramme' in the search query
12 * */
13 Ext.define('Lada.model.MessprogrammList', {
14 extend: 'Ext.data.Model',
15
16 fields: [{
17 name: 'readonly'
18 }],
19
20 idProperty: 'id',
21
22 proxy: {
23 type: 'rest',
24 url: 'lada-server/messprogramm',
25 reader: {
26 type: 'json',
27 root: 'data',
28 totalProperty: 'totalCount'
29 }
30 }
31 });

http://lada.wald.intevation.org