comparison app/view/widgets/Uwb.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 Umweltbereich
2 var uwbStore = Ext.create('Ext.data.Store', { 1 var uwbStore = Ext.create('Ext.data.Store', {
3 fields: ['umwId', 'umweltBereich'], 2 fields: ['umwId', 'umweltBereich'],
4 sorters: [{ 3 sorters: [{
5 property: 'umwId', 4 property: 'umwId',
6 }], 5 }],
14 root: 'data' 13 root: 'data'
15 } 14 }
16 } 15 }
17 }); 16 });
18 17
18 /**
19 * Combobox for Umweltbereich
20 */
19 Ext.define('Lada.view.widgets.Uwb' ,{ 21 Ext.define('Lada.view.widgets.Uwb' ,{
20 tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >{umwId} - {umweltBereich}</div></tpl>', 22 tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >{umwId} - {umweltBereich}</div></tpl>',
21 extend: 'Ext.form.ComboBox', 23 extend: 'Ext.form.ComboBox',
22 alias: 'widget.uwb', 24 alias: 'widget.uwb',
23 store: uwbStore, 25 store: uwbStore,

http://lada.wald.intevation.org