comparison app/view/grid/Status.js @ 1001:e92931b8f6b0

A fix which is supposed to reload the statuswerte store, when the Add button is used, part 2
author Dustin Demuth <dustin@intevation.de>
date Wed, 13 Jan 2016 15:24:56 +0100
parents 5beb2581a989
children d8e74bd89d6b
comparison
equal deleted inserted replaced
1000:5beb2581a989 1001:e92931b8f6b0
27 initComponent: function() { 27 initComponent: function() {
28 var i18n = Lada.getApplication().bundle; 28 var i18n = Lada.getApplication().bundle;
29 this.emptyText = i18n.getMsg('statusgrid.emptyText'); 29 this.emptyText = i18n.getMsg('statusgrid.emptyText');
30 30
31 this.statusWerteStore = Ext.create('Lada.store.StatusWerte'); 31 this.statusWerteStore = Ext.create('Lada.store.StatusWerte');
32 statusWerteStore.load({ 32 this.statusWerteStore.load({
33 params: { 33 params: {
34 messungsId: this.recordId 34 messungsId: this.recordId
35 } 35 }
36 }); 36 });
37 var statusStufeStore = Ext.create('Lada.store.StatusStufe'); 37 var statusStufeStore = Ext.create('Lada.store.StatusStufe');
139 } 139 }
140 return r; 140 return r;
141 }, 141 },
142 editor: { 142 editor: {
143 xtype: 'combobox', 143 xtype: 'combobox',
144 store: statusWerteStore, 144 store: this.statusWerteStore,
145 queryMode: 'local', 145 queryMode: 'local',
146 displayField: 'wert', 146 displayField: 'wert',
147 valueField: 'id', 147 valueField: 'id',
148 allowBlank: false, 148 allowBlank: false,
149 editable: false 149 editable: false

http://lada.wald.intevation.org