comparison 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
comparison
equal deleted inserted replaced
260:70a1b5962930 261:1375ff0f248d
15 } 15 }
16 } 16 }
17 }); 17 });
18 18
19 Ext.define('Lada.view.widgets.Messmethode' ,{ 19 Ext.define('Lada.view.widgets.Messmethode' ,{
20 tpl: '<tpl for="."><div class="x-combo-list-item" >{mmtId} - {messmethhode}</div></tpl>',
20 extend: 'Ext.form.ComboBox', 21 extend: 'Ext.form.ComboBox',
21 alias: 'widget.messmethode', 22 alias: 'widget.messmethode',
22 store: mmtStore, 23 store: mmtStore,
23 displayField:'messmethhode', 24 displayField:'messmethhode',
24 valueField: 'mmtId', 25 valueField: 'mmtId',

http://lada.wald.intevation.org