diff app/view/widgets/Messmethode.js @ 261:1375ff0f248d

Issue50. Show ID an text in combobox.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 26 Jul 2013 10:12:58 +0200
parents 70a1b5962930
children 852dc338894e
line wrap: on
line diff
--- 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,

http://lada.wald.intevation.org