comparison app/view/widgets/Messmethode.js @ 272:852dc338894e

Make custom comboboxed selectable
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 06 Aug 2013 16:53:47 +0200
parents 1375ff0f248d
children 5fbcbf330839
comparison
equal deleted inserted replaced
271:11f8a2c1b610 272:852dc338894e
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 tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >{mmtId} - {messmethhode}</div></tpl>',
21 extend: 'Ext.form.ComboBox', 21 extend: 'Ext.form.ComboBox',
22 alias: 'widget.messmethode', 22 alias: 'widget.messmethode',
23 store: mmtStore, 23 store: mmtStore,
24 displayField:'messmethhode', 24 displayField:'messmethhode',
25 valueField: 'mmtId', 25 valueField: 'mmtId',

http://lada.wald.intevation.org