Mercurial > lada > lada-client
comparison app/view/widgets/Messmethode.js @ 352:5fbcbf330839
Added documenation
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 13 Aug 2013 11:45:14 +0200 |
parents | 852dc338894e |
children | 596501c16560 |
comparison
equal
deleted
inserted
replaced
351:8cb393ffe844 | 352:5fbcbf330839 |
---|---|
1 // Combobox for Messmethode | |
2 var mmtStore = Ext.create('Ext.data.Store', { | 1 var mmtStore = Ext.create('Ext.data.Store', { |
3 fields: ['mmtId', 'messmethhode'], | 2 fields: ['mmtId', 'messmethhode'], |
4 sorters: [{ | 3 sorters: [{ |
5 property: 'mmtId', | 4 property: 'mmtId', |
6 }], | 5 }], |
14 root: 'data' | 13 root: 'data' |
15 } | 14 } |
16 } | 15 } |
17 }); | 16 }); |
18 | 17 |
18 /** | |
19 * Combobox for Messmethode | |
20 */ | |
19 Ext.define('Lada.view.widgets.Messmethode' ,{ | 21 Ext.define('Lada.view.widgets.Messmethode' ,{ |
20 tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >{mmtId} - {messmethhode}</div></tpl>', | 22 tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >{mmtId} - {messmethhode}</div></tpl>', |
21 extend: 'Ext.form.ComboBox', | 23 extend: 'Ext.form.ComboBox', |
22 alias: 'widget.messmethode', | 24 alias: 'widget.messmethode', |
23 store: mmtStore, | 25 store: mmtStore, |