Mercurial > lada > lada-client
annotate app/view/widgets/Testdatensatz.js @ 57:982f3130e7f3
Added idProperty to "id" which is the default anyway. Removed api definition
and added kId field to the model.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 29 May 2013 15:19:56 +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 }); |