Mercurial > lada > lada-client
comparison app/store/Datenbasis.js @ 548:d47ee7439f44
Added new js files.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 06 Mar 2015 12:43:52 +0100 |
parents | |
children | 8e3bc9d2ec40 |
comparison
equal
deleted
inserted
replaced
547:f172b35a3b92 | 548:d47ee7439f44 |
---|---|
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 Datenbasis | |
11 */ | |
12 Ext.define('Lada.store.Datenbasis', { | |
13 extend: 'Ext.data.Store', | |
14 model: 'Lada.model.Datenbasis', | |
15 sorters: [{ | |
16 property: 'datenbasis', | |
17 transform: function(val) { | |
18 if (val) { | |
19 return val.toLowerCase(); | |
20 } | |
21 return ''; | |
22 } | |
23 }], | |
24 autoLoad: true | |
25 }); |