view app/store/StatusWerte.js @ 823:5ed0e6273888

Only enable delete button in grids when an entry was selected
author Dustin Demuth <dustin@intevation.de>
date Fri, 29 May 2015 14:03:18 +0200
parents ad24af3fcf89
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
        }]
});

http://lada.wald.intevation.org