comparison app/view/widget/Umwelt.js @ 754:6b0d0e62f7d7

added Probenintervalle to a Messprogramm... there is still a lot of work needed. For instance for the slider element.
author Dustin Demuth <dustin@intevation.de>
date Tue, 05 May 2015 17:22:38 +0200
parents 2db5d54a5685
children
comparison
equal deleted inserted replaced
753:4dd0c645ea8b 754:6b0d0e62f7d7
15 store: 'Umwelt', 15 store: 'Umwelt',
16 displayField: 'id', 16 displayField: 'id',
17 valueField: 'id', 17 valueField: 'id',
18 editable: this.editable || false, 18 editable: this.editable || false,
19 forceSelection: true, 19 forceSelection: true,
20 emptyText: 'Wählen Sie einen Umweltbereich',
21 // Enable filtering of comboboxes 20 // Enable filtering of comboboxes
22 autoSelect: false, 21 autoSelect: false,
23 queryMode: 'local', 22 queryMode: 'local',
24 triggerAction: 'all', 23 triggerAction: 'all',
25 typeAhead: false, 24 typeAhead: false,
29 '{id} - {umweltBereich}</div></tpl>'), 28 '{id} - {umweltBereich}</div></tpl>'),
30 displayTpl: Ext.create('Ext.XTemplate', 29 displayTpl: Ext.create('Ext.XTemplate',
31 '<tpl for=".">{id} - {umweltBereich}</tpl>'), 30 '<tpl for=".">{id} - {umweltBereich}</tpl>'),
32 31
33 initComponent: function() { 32 initComponent: function() {
33 var i18n = Lada.getApplication().bundle;
34 this.emptyText = i18n.getMsg('emptytext.umweltbereich');
35
34 this.store = Ext.data.StoreManager.get('umwelt'); 36 this.store = Ext.data.StoreManager.get('umwelt');
35 if (!this.store) { 37 if (!this.store) {
36 this.store = Ext.create('Lada.store.Umwelt'); 38 this.store = Ext.create('Lada.store.Umwelt');
37 } 39 }
38 this.store.sort(); 40 this.store.sort();

http://lada.wald.intevation.org