Mercurial > lada > lada-client
annotate app/view/widgets/Messgroesse.js @ 448:bd2b26c249e2
Use 'load', not 'reload' to fill the proben store if its empty.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 05 Dec 2013 11:18:43 +0100 |
parents | a122424f2f0f |
children | debfcc7713e3 |
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 */ |
423
f0f6ae3aae52
Fixed class names.
Raimund Renkert <rrenkert@intevation.de>
parents:
355
diff
changeset
|
4 Ext.define('Lada.view.widgets.Messgroesse' ,{ |
186
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', |
445
a122424f2f0f
Fixed typos in fields.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
423
diff
changeset
|
8 displayField: 'messgroesse', |
186
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 }); |