Mercurial > lada > lada-client
comparison app/view/window/MessprogrammCreate.js @ 758:b2fcbdc4969d
Filled MessmethodenGrid with life.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Wed, 06 May 2015 16:24:23 +0200 |
parents | b8502964f5c3 |
children |
comparison
equal
deleted
inserted
replaced
757:b8502964f5c3 | 758:b2fcbdc4969d |
---|---|
66 layout: { | 66 layout: { |
67 type: 'hbox', | 67 type: 'hbox', |
68 }, | 68 }, |
69 items: [{ | 69 items: [{ |
70 xtype: 'messmethodengrid', | 70 xtype: 'messmethodengrid', |
71 recordId: null, | |
71 flex: 1 | 72 flex: 1 |
72 }, { | 73 }, { |
73 xtype: 'messmethodengrid', | 74 xtype: 'messmethodengrid', |
75 recordId: null, | |
74 flex: 1 | 76 flex: 1 |
75 }] | 77 }] |
76 }] | 78 }] |
77 }]; | 79 }]; |
78 this.callParent(arguments); | 80 this.callParent(arguments); |
79 }, | 81 }, |
80 | 82 |
81 initData: function() { | 83 initData: function() { |
82 var record = Ext.create('Lada.model.Messprogramm'); | 84 record = Ext.create('Lada.model.Messprogramm'); |
83 this.down('messprogrammform').setRecord(record); | 85 this.down('messprogrammform').setRecord(record); |
84 }, | 86 }, |
85 | 87 |
86 setMessages: function(errors, warnings) { | 88 setMessages: function(errors, warnings) { |
87 this.down('messprogrammform').setMessages(errors, warnings); | 89 this.down('messprogrammform').setMessages(errors, warnings); |