Mercurial > lada > lada-client
comparison app/view/grid/Messung.js @ 1111:a73726bba79c
Use custom row expander in probe list grid to display messung grid.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 17 May 2016 17:12:07 +0200 |
parents | 0497693d5b74 |
children | d3cf992099a0 90ae675a1224 |
comparison
equal
deleted
inserted
replaced
1110:4a55e665f2d1 | 1111:a73726bba79c |
---|---|
24 recordId: null, | 24 recordId: null, |
25 | 25 |
26 warnings: null, | 26 warnings: null, |
27 errors: null, | 27 errors: null, |
28 readOnly: true, | 28 readOnly: true, |
29 bottomBar: true, | |
29 allowDeselect: true, | 30 allowDeselect: true, |
30 | 31 |
31 initComponent: function() { | 32 initComponent: function() { |
32 this.dockedItems = [{ | 33 this.dockedItems = [{ |
33 xtype: 'toolbar', | 34 xtype: 'toolbar', |
157 scope: this | 158 scope: this |
158 } | 159 } |
159 }; | 160 }; |
160 this.initData(); | 161 this.initData(); |
161 this.callParent(arguments); | 162 this.callParent(arguments); |
163 if (!this.bottomBar) { | |
164 this.down('toolbar[dock=bottom]').hide(); | |
165 } | |
162 this.setReadOnly(true); //Grid is always initialised as RO | 166 this.setReadOnly(true); //Grid is always initialised as RO |
163 }, | 167 }, |
164 | 168 |
165 initData: function() { | 169 initData: function() { |
166 this.setLoading(true); | 170 this.setLoading(true); |