comparison app/view/window/MessungEdit.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 13c0e64e1873
comparison
equal deleted inserted replaced
844:1449d58d6f58 845:613ad3263e59
61 }); 61 });
62 62
63 this.width = 700; 63 this.width = 700;
64 this.height = Ext.getBody().getViewSize().height - 30; 64 this.height = Ext.getBody().getViewSize().height - 30;
65 65
66 var mStore = Ext.data.StoreManager.get('messgroessen');
67 mStore.proxy.extraParams = {mmtId: this.record.get('mmtId')};
68 mStore.load();
69
66 this.items = [{ 70 this.items = [{
67 border: 0, 71 border: 0,
68 autoScroll: true, 72 autoScroll: true,
69 items: [{ 73 items: [{
70 xtype: 'messungform', 74 xtype: 'messungform',
76 title: 'Messwerte', 80 title: 'Messwerte',
77 padding: '5, 5', 81 padding: '5, 5',
78 margin: 5, 82 margin: 5,
79 items: [{ 83 items: [{
80 xtype: 'messwertgrid', 84 xtype: 'messwertgrid',
81 recordId: this.record.get('id') 85 recordId: this.record.get('id'),
86 messgroesseStore: mStore
82 }] 87 }]
83 }, { 88 }, {
84 xtype: 'fset', 89 xtype: 'fset',
85 name: 'messungstatus', 90 name: 'messungstatus',
86 title: 'Status', 91 title: 'Status',

http://lada.wald.intevation.org