Mercurial > lada > lada-client
comparison app/view/Viewport.js @ 975:fb99332bb48e stammdatengrids
Severe changes concerning the Resultgrids.
- Intrduced "Stammdaten" which can be selected in the Mode Field on the left side,
- Added Stores and Models for the Stammdaten
- Removed the FilterResultgrid and replaced it with a model which uses inheritance.
Dynamic Grid Columns can now be derived from app/view/widget/DynamicGrid.js
For Proben and Messprogramme this is already done.
- There might be some REGRESSION concerning the buttons in the ProbeList and
MessprogrammeList grid, as those are not disabled properly.
This needs to be fixed in future commits.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Wed, 02 Dec 2015 17:39:04 +0100 |
parents | 4b9b1d3ad9f1 |
children | 7f5219b8e1bf |
comparison
equal
deleted
inserted
replaced
974:ea477f62a667 | 975:fb99332bb48e |
---|---|
15 */ | 15 */ |
16 Ext.define('Lada.view.Viewport', { | 16 Ext.define('Lada.view.Viewport', { |
17 extend: 'Ext.container.Viewport', | 17 extend: 'Ext.container.Viewport', |
18 requires: [ | 18 requires: [ |
19 'Lada.view.ProbenPlanungSwitcher', | 19 'Lada.view.ProbenPlanungSwitcher', |
20 'Lada.view.FilterPanel', | 20 'Lada.view.FilterPanel' |
21 'Lada.view.grid.FilterResult' | |
22 ], | 21 ], |
23 layout: 'fit', | 22 layout: 'fit', |
24 initComponent: function() { | 23 initComponent: function() { |
25 var i18n = Lada.getApplication().bundle; | 24 var i18n = Lada.getApplication().bundle; |
26 this.items = [{ | 25 this.items = [{ |
74 hidden: true, | 73 hidden: true, |
75 margin: '0, 10, 0, 10', | 74 margin: '0, 10, 0, 10', |
76 items: [] | 75 items: [] |
77 }] | 76 }] |
78 }, { | 77 }, { |
79 // Resultlist for the query. | 78 xtype: 'panel', |
79 border: 1, | |
80 layout: 'fit', | |
81 name: 'contentpanel', | |
80 flex: 3, | 82 flex: 3, |
81 xtype: 'filterresultgrid', | |
82 hidden: false, | 83 hidden: false, |
83 region: 'center' | 84 region: 'center' |
84 }] | 85 }] |
85 }]; | 86 }]; |
86 this.callParent(arguments); | 87 this.callParent(arguments); |