Mercurial > lada > lada-client
view app/store/StatusWerte.js @ 799:ad24af3fcf89
created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 21 May 2015 15:54:25 +0200 |
parents | |
children | 023e622f9551 |
line wrap: on
line source
/* 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 Status-Werte * TODO i18n */ Ext.define('Lada.store.StatusWerte', { extend: 'Ext.data.Store', fields: ['display', 'id'], data: [{ display: 'unbekannt', id: 0 }, { display: 'nicht vergeben', id: 1 }, { display: 'plausibel', id: 2 }, { display: 'nicht repräsentativ', id: 3 }, { display: 'nicht plausibel', id: 4 }] });