Mercurial > lada > lada-client
view app/store/Betriebsart.js @ 81:1279baefd61a
Do not collapse the fields, as required field should be visible on creation.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 11 Jun 2013 09:58:40 +0200 |
parents | 39f5f1529847 |
children |
line wrap: on
line source
Ext.define('Lada.store.Betriebsart', { extend: 'Ext.data.Store', fields: ['betriebsartId', 'betriebsart'], autoLoad: true, // This might be implemented later. Table in database is missing. //proxy: { // type: 'ajax', // api: { // read: 'server/rest/probenart' // }, // reader: { // type: 'json' // } //} data: [ {"betriebsartId":"1", "betriebsart":"Normal-/Routinebtrieb"}, {"betriebsartId":"2", "betriebsart":"Störfall/Intensivbetrieb"} ] });