[Lada-commits] [PATCH] Issue50. Show ID an text in combobox
Wald Commits
scm-commit at wald.intevation.org
Fri Jul 26 10:14:14 CEST 2013
# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1374826378 -7200
# Node ID 1375ff0f248d2e4cf7215791504820b8cd7b5bd4
# Parent 70a1b59629300af900c5c06d76d31f0525e07755
Issue50. Show ID an text in combobox.
diff -r 70a1b5962930 -r 1375ff0f248d app/view/widgets/Messmethode.js
--- a/app/view/widgets/Messmethode.js Thu Jul 25 15:39:15 2013 +0200
+++ b/app/view/widgets/Messmethode.js Fri Jul 26 10:12:58 2013 +0200
@@ -17,6 +17,7 @@
});
Ext.define('Lada.view.widgets.Messmethode' ,{
+ tpl: '<tpl for="."><div class="x-combo-list-item" >{mmtId} - {messmethhode}</div></tpl>',
extend: 'Ext.form.ComboBox',
alias: 'widget.messmethode',
store: mmtStore,
diff -r 70a1b5962930 -r 1375ff0f248d app/view/widgets/Uwb.js
--- a/app/view/widgets/Uwb.js Thu Jul 25 15:39:15 2013 +0200
+++ b/app/view/widgets/Uwb.js Fri Jul 26 10:12:58 2013 +0200
@@ -1,6 +1,6 @@
// Combobox for Umweltbereich
var uwbStore = Ext.create('Ext.data.Store', {
- fields: ['umwId'],
+ fields: ['umwId', 'umweltBereich'],
sorters: [{
property: 'umwId',
}],
@@ -17,6 +17,7 @@
});
Ext.define('Lada.view.widgets.Uwb' ,{
+ tpl: '<tpl for="."><div class="x-combo-list-item" >{umwId} - {umweltBereich}</div></tpl>',
extend: 'Ext.form.ComboBox',
alias: 'widget.uwb',
store: uwbStore,
More information about the Lada-commits
mailing list