Mercurial > lada > lada-client
comparison app/view/widgets/Probenart.js @ 352:5fbcbf330839
Added documenation
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 13 Aug 2013 11:45:14 +0200 |
parents | c05fda928b82 |
children | 596501c16560 |
comparison
equal
deleted
inserted
replaced
351:8cb393ffe844 | 352:5fbcbf330839 |
---|---|
1 // Combobox for Probenart | |
2 var probenartStore = Ext.create('Ext.data.Store', { | 1 var probenartStore = Ext.create('Ext.data.Store', { |
3 fields: ['probenartId', 'probenart'], | 2 fields: ['probenartId', 'probenart'], |
4 proxy: { | 3 proxy: { |
5 type: 'ajax', | 4 type: 'ajax', |
6 api: { | 5 api: { |
11 root: 'data' | 10 root: 'data' |
12 } | 11 } |
13 } | 12 } |
14 }); | 13 }); |
15 | 14 |
15 /** | |
16 * Combobox for Probenart | |
17 */ | |
16 Ext.define('Lada.view.widgets.Probenart' ,{ | 18 Ext.define('Lada.view.widgets.Probenart' ,{ |
17 extend: 'Ext.form.ComboBox', | 19 extend: 'Ext.form.ComboBox', |
18 alias: 'widget.probenart', | 20 alias: 'widget.probenart', |
19 store: probenartStore, | 21 store: probenartStore, |
20 displayField:'probenart', | 22 displayField:'probenart', |