Mercurial > lada > lada-client
annotate app/view/widgets/Testdatensatz.js @ 66:fcb63271d1bd
Created custom Form element which is bound to the model
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 05 Jun 2013 15:40:15 +0200 |
parents | 792c34b3f5a9 |
children | c05fda928b82 |
rev | line source |
---|---|
49
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 // Combobox for Umweltbereich |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 Ext.define('Lada.view.widgets.Testdatensatz' ,{ |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 extend: 'Ext.form.ComboBox', |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 editable: false, |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 alias: 'widget.testdatensatz', |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 store: 'Testdatensatz', |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 queryMode: 'local', |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 displayField:'testdatensatz', |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 valueField: 'testdatensatzId', |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 emptyText:'Testdatensatz?', |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 initComponent: function() { |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 this.callParent(arguments); |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 } |
792c34b3f5a9
Added combobox for field "testdatensatz"
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 }); |