Mercurial > lada > lada-client
annotate app/view/widgets/Messgroesse.js @ 385:08bb418f31c9
Use 'this' reference for idProperty in model.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 30 Aug 2013 10:29:39 +0200 |
parents | 596501c16560 |
children | f0f6ae3aae52 |
rev | line source |
---|---|
352
5fbcbf330839
Added documenation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
186
diff
changeset
|
1 /** |
5fbcbf330839
Added documenation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
186
diff
changeset
|
2 * Combobox for Messgroesse |
5fbcbf330839
Added documenation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
186
diff
changeset
|
3 */ |
186
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 Ext.define('Lada.view.widgets.Messegroesse' ,{ |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 extend: 'Ext.form.ComboBox', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 alias: 'widget.messgroesse', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 store: 'Messgroessen', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 displayField: 'messgro0esse', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 valueField: 'messgroesseId', |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 emptyText:'Wählen Sie eine Messgröße', |
355
596501c16560
Issue8. Fixed filtering of comboboxes while typing.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
354
diff
changeset
|
11 // Enable filtering of comboboxes |
354
0a8fd4c2e7a8
Fixed local filtering of combo
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
12 autoSelect: false, |
0a8fd4c2e7a8
Fixed local filtering of combo
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
13 queryMode: 'local', |
0a8fd4c2e7a8
Fixed local filtering of combo
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
14 triggerAction : 'all', |
0a8fd4c2e7a8
Fixed local filtering of combo
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
15 typeAhead: true, |
0a8fd4c2e7a8
Fixed local filtering of combo
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
16 minChars: 0, |
0a8fd4c2e7a8
Fixed local filtering of combo
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
17 |
186
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 initComponent: function() { |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
19 this.callParent(arguments); |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
20 } |
956555e20e02
Added missing files.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
21 }); |