Mercurial > lada > lada-client
diff app/store/OrtszuordnungTyp.js @ 1338:d2f06ce4d43a
Use service and widget instead of local store for OrtszuordnungTyp.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 03 Feb 2017 18:01:25 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/store/OrtszuordnungTyp.js Fri Feb 03 18:01:25 2017 +0100 @@ -0,0 +1,22 @@ +/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz + * Software engineering by Intevation GmbH + * + * This file is Free Software under the GNU GPL (v>=3) + * and comes with ABSOLUTELY NO WARRANTY! Check out + * the documentation coming with IMIS-Labordaten-Application for details. + */ + +/** + * Store for OrtszuordnungTyp + */ +Ext.define('Lada.store.OrtszuordnungTyp', { + extend: 'Ext.data.Store', + model: 'Lada.model.OrtszuordnungTyp', + sorters: [ + { + property: 'id', + direction: 'ASC' + }], + autoLoad: true, + sortOnLoad: true +});