Mercurial > lada > lada-client
diff app/view/grid/Messwert.js @ 845:613ad3263e59
Load messgroessen with messmethode filter.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 08 Jul 2015 09:33:25 +0200 |
parents | fab0b7be5aca |
children | 07dfcdf5b41f |
line wrap: on
line diff
--- a/app/view/grid/Messwert.js Tue Jul 07 13:01:35 2015 +0200 +++ b/app/view/grid/Messwert.js Wed Jul 08 09:33:25 2015 +0200 @@ -29,6 +29,7 @@ recordId: null, readOnly: true, allowDeselect: true, + messgroesseStore: null, initComponent: function() { this.rowEditing = Ext.create('Ext.grid.plugin.RowEditing', { @@ -49,8 +50,8 @@ return true; } } - }); - + }); + var me = this; this.plugins = [this.rowEditing]; this.dockedItems = [{ @@ -81,7 +82,7 @@ }, editor: { xtype: 'combobox', - store: Ext.data.StoreManager.get('messgroessen'), + store: me.messgroesseStore, displayField: 'messgroesse', valueField: 'id', allowBlank: false,