Mercurial > lada > lada-client
comparison app/view/search/List.js @ 31:897e3100c6da
Changed logic of the Probenauswahl. Now logic works like the BFS version.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 21 May 2013 17:53:51 +0200 |
parents | 4d60b9ebce15 |
children | 5a977bf18619 |
comparison
equal
deleted
inserted
replaced
30:c684f01c0b72 | 31:897e3100c6da |
---|---|
1 Ext.define('Lada.view.search.List' ,{ | 1 Ext.define('Lada.view.search.List' ,{ |
2 extend: 'Ext.form.ComboBox', | 2 extend: 'Ext.form.FieldSet', |
3 alias: 'widget.queryselector', | 3 title: 'SQL-Auswahl', |
4 store: 'Sql', | 4 alias: 'widget.queryselector', |
5 displayField:'name', | |
6 valueField: 'id' , | |
7 emptyText:'Wählen Sie eine Abfrage', | |
8 //typeAhead: true, | |
9 //mode: 'local', | |
10 //triggerAction: 'all', | |
11 //selectOnFocus:true, | |
12 | 5 |
13 initComponent: function() { | 6 initComponent: function() { |
7 this.items = [ | |
8 { | |
9 id: 'search', | |
10 xtype: 'combobox', | |
11 store: 'Sql', | |
12 displayField:'name', | |
13 valueField:'id', | |
14 emptyText:'Wählen Sie eine Abfrage' | |
15 } | |
16 ]; | |
14 this.callParent(arguments); | 17 this.callParent(arguments); |
15 } | 18 } |
16 }); | 19 }); |
17 //Ext.define('Lada.view.search.List' ,{ | |
18 // extend: 'Ext.grid.Panel', | |
19 // alias: 'widget.queryselector', | |
20 // store: 'Sql', | |
21 // | |
22 // initComponent: function() { | |
23 // this.columns = [ | |
24 // {header: 'ID', dataIndex: 'id', flex: 1}, | |
25 // {header: 'Kurzname', dataIndex: 'name', flex: 1}, | |
26 // {header: 'SQL', dataIndex: 'desc', flex: 1} | |
27 // ]; | |
28 // | |
29 // this.callParent(arguments); | |
30 // } | |
31 //}); |