comparison app/view/widget/Probenehmer.js @ 1116:92c0fa2f29b0

complete some comboboxes in probe form and messprogramm form
author Michael Stanko <mstanko@bfs.de>
date Thu, 19 May 2016 14:56:43 +0200
parents 9bcd17f7a0ae
children 9c8b5cbb929a
comparison
equal deleted inserted replaced
1115:6866be10e40c 1116:92c0fa2f29b0
13 extend: 'Lada.view.widget.base.ComboBox', 13 extend: 'Lada.view.widget.base.ComboBox',
14 alias: 'widget.probenehmer', 14 alias: 'widget.probenehmer',
15 store: 'Probenehmer', 15 store: 'Probenehmer',
16 displayField: 'id', 16 displayField: 'id',
17 valueField: 'id', 17 valueField: 'id',
18 emptyText: 'Wählen Sie einen Probenehmer',
18 editable: this.editable || false, 19 editable: this.editable || false,
19 forceSelection: true, 20 forceSelection: true,
20 // Enable filtering of comboboxes 21 // Enable filtering of comboboxes
21 autoSelect: false, 22 autoSelect: false,
22 queryMode: 'local', 23 queryMode: 'local',
23 triggerAction: 'all', 24 triggerAction: 'all',
24 typeAhead: false, 25 typeAhead: false,
25 minChars: 0, 26 minChars: 0,
26 tpl: Ext.create("Ext.XTemplate", 27 tpl: Ext.create("Ext.XTemplate",
27 '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >' + 28 '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >' +
28 '{id} - {probeNehmer}</div></tpl>'), 29 '{prnId} - {kurzBezeichnung}</div></tpl>'),
29 displayTpl: Ext.create('Ext.XTemplate', 30 displayTpl: Ext.create('Ext.XTemplate',
30 '<tpl for=".">{id} - {probeNehmer}</tpl>'), 31 '<tpl for=".">{kurzBezeichnung}</tpl>'),
31 32
32 initComponent: function() { 33 initComponent: function() {
33 var i18n = Lada.getApplication().bundle; 34 var i18n = Lada.getApplication().bundle;
34 this.emptyText = i18n.getMsg('emptytext.probenehmer'); 35 this.emptyText = i18n.getMsg('emptytext.probenehmer');
35 36

http://lada.wald.intevation.org