comparison app/store/StaMessstellen.js @ 489:6056a7fd9aa2

Added and updated stores.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:11:25 +0100
parents
children
comparison
equal deleted inserted replaced
488:f7446ebfe5d0 489:6056a7fd9aa2
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 * Store for Messstellen
11 */
12 Ext.define('Lada.store.StaMessstellen', {
13 extend: 'Ext.data.Store',
14 model: 'Lada.model.StaMessstelle',
15 sorters: [{
16 property: 'messStelle',
17 transform: function(val) {
18 if (val) {
19 return val.toLowerCase();
20 } else {
21 return "";
22 };
23 }
24 }],
25 autoLoad: true
26 });

http://lada.wald.intevation.org