Mercurial > lada > lada-client
comparison app/view/widgets/Mst.js @ 35:3f801444b8d5
Added store for Messstelle. Fill Messstellen widget on search page
dynamically.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 23 May 2013 16:09:05 +0200 |
parents | 897e3100c6da |
children | 84f32c62670f |
comparison
equal
deleted
inserted
replaced
34:d090ba4104ab | 35:3f801444b8d5 |
---|---|
1 // Combobox for Messtelle | 1 // Combobox for Messtelle |
2 Ext.define('Lada.view.widgets.Mst' ,{ | 2 Ext.define('Lada.view.widgets.Mst' ,{ |
3 extend: 'Ext.form.ComboBox', | 3 extend: 'Ext.form.ComboBox', |
4 alias: 'widget.mst', | 4 alias: 'widget.mst', |
5 store: 'Sql', | 5 store: 'Mst', |
6 displayField:'name', | 6 displayField:'mstId', |
7 valueField: 'id' , | 7 valueField: 'mstId' , |
8 emptyText:'Wählen Sie eine Messstelle', | 8 emptyText:'Wählen Sie eine Messstelle', |
9 initComponent: function() { | 9 initComponent: function() { |
10 this.callParent(arguments); | 10 this.callParent(arguments); |
11 } | 11 } |
12 }); | 12 }); |