comparison app/view/widgets/Statuswert.js @ 352:5fbcbf330839

Added documenation
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 11:45:14 +0200
parents 808c24773713
children 596501c16560
comparison
equal deleted inserted replaced
351:8cb393ffe844 352:5fbcbf330839
1 // Combobox for Statuswerte
2 var statuswerteStore = Ext.create('Ext.data.Store', { 1 var statuswerteStore = Ext.create('Ext.data.Store', {
3 fields: ['id', 'status'], 2 fields: ['id', 'status'],
4 data: [ 3 data: [
5 {"id":1, "status":"nicht vergeben"}, 4 {"id":1, "status":"nicht vergeben"},
6 {"id":2, "status":"plausibel"}, 5 {"id":2, "status":"plausibel"},
7 {"id":3, "status":"nicht repräsentativ"}, 6 {"id":3, "status":"nicht repräsentativ"},
8 {"id":4, "status":"nicht plausibel"} 7 {"id":4, "status":"nicht plausibel"}
9 ] 8 ]
10 }); 9 });
11 10
11 /**
12 * Combobox for Statuswert
13 */
12 Ext.define('Lada.view.widgets.Statuswert' ,{ 14 Ext.define('Lada.view.widgets.Statuswert' ,{
13 extend: 'Ext.form.ComboBox', 15 extend: 'Ext.form.ComboBox',
14 alias: 'widget.statuswert', 16 alias: 'widget.statuswert',
15 store: statuswerteStore, 17 store: statuswerteStore,
16 displayField:'status', 18 displayField:'status',

http://lada.wald.intevation.org