comparison app/view/Viewport.js @ 747:3ffecbce17d6

Radio-Buttons to switch between query-modes: Probenliste und Probenplanung. Filter-Combobox store wird automatisch gewechselt. ToDo: Query-Store für Probenplanung
author Dustin Demuth <dustin@intevation.de>
date Fri, 24 Apr 2015 15:47:05 +0200
parents b400629a2575
children 56f91254cd23
comparison
equal deleted inserted replaced
746:f99f23ffeb73 747:3ffecbce17d6
8 8
9 /** 9 /**
10 * Viewport for the Lada-Client 10 * Viewport for the Lada-Client
11 * 11 *
12 * The viewport initialises the graphical elements of the application. For 12 * The viewport initialises the graphical elements of the application. For
13 * debugging it is possible to initialize other components directly see the 13 * debugging it is possible to initialise other components directly see the
14 * initComponent function. 14 * initComponent function.
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.FilterPanel', 20 'Lada.view.FilterPanel',
20 'Lada.view.grid.FilterResult' 21 'Lada.view.grid.FilterResult'
21 ], 22 ],
22 layout: 'fit', 23 layout: 'fit',
23 initComponent: function() { 24 initComponent: function() {
92 id: 'groupinfo', 93 id: 'groupinfo',
93 text: '' 94 text: ''
94 }] 95 }]
95 }], 96 }],
96 items: [{ 97 items: [{
98 xtype: 'probenplanungswitcher',
99 margin: '0, 10, 0, 10'
100 }, {
97 // Auswahl einer Abfrage. 101 // Auswahl einer Abfrage.
98 xtype: 'filterpanel', 102 xtype: 'filterpanel',
99 margin: '0, 10, 0, 10' 103 margin: '0, 10, 0, 10'
100 }, { 104 }, {
101 // Variables settings for the current selected sql statement. 105 // Variables settings for the current selected sql statement.

http://lada.wald.intevation.org