comparison app/view/widgets/Datenbasis.js @ 352:5fbcbf330839

Added documenation
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 11:45:14 +0200
parents 70a1b5962930
children 596501c16560
comparison
equal deleted inserted replaced
351:8cb393ffe844 352:5fbcbf330839
1 // Combobox for Datenbasis
2 var datenbasisStore = Ext.create('Ext.data.Store', { 1 var datenbasisStore = Ext.create('Ext.data.Store', {
3 fields: ['datenbasisId', 'beschreibung', 'datenbasis'], 2 fields: ['datenbasisId', 'beschreibung', 'datenbasis'],
4 sorters: [{ 3 sorters: [{
5 property: 'datenbasis', 4 property: 'datenbasis',
6 }], 5 }],
14 root: 'data' 13 root: 'data'
15 } 14 }
16 } 15 }
17 }); 16 });
18 17
18 /**
19 * Combobox for Datenbasis
20 */
19 Ext.define('Lada.view.widgets.Datenbasis' ,{ 21 Ext.define('Lada.view.widgets.Datenbasis' ,{
20 extend: 'Ext.form.ComboBox', 22 extend: 'Ext.form.ComboBox',
21 alias: 'widget.datenbasis', 23 alias: 'widget.datenbasis',
22 store: datenbasisStore, 24 store: datenbasisStore,
23 displayField:'datenbasis', 25 displayField:'datenbasis',

http://lada.wald.intevation.org