comparison app/view/search/List.js @ 28:4d60b9ebce15

Renamed sql modul into search. Further display The query selection as Combobox instead of a grid.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 16 May 2013 17:55:53 +0200
parents app/view/sql/List.js@f964a50bfe57
children 897e3100c6da
comparison
equal deleted inserted replaced
27:e02d07abc4fe 28:4d60b9ebce15
1 Ext.define('Lada.view.search.List' ,{
2 extend: 'Ext.form.ComboBox',
3 alias: 'widget.queryselector',
4 store: 'Sql',
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
13 initComponent: function() {
14 this.callParent(arguments);
15 }
16 });
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 //});

http://lada.wald.intevation.org