view app/view/search/List.js @ 29:1fdef170d5a5

Changed MLP to MPL. It seems that this one was a typo.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 16 May 2013 18:24:09 +0200
parents 4d60b9ebce15
children 897e3100c6da
line wrap: on
line source
Ext.define('Lada.view.search.List' ,{
        extend: 'Ext.form.ComboBox',
        alias: 'widget.queryselector',
        store: 'Sql',
        displayField:'name',
        valueField: 'id' ,
        emptyText:'Wählen Sie eine Abfrage',
        //typeAhead: true,
        //mode: 'local',
        //triggerAction: 'all',
        //selectOnFocus:true,

    initComponent: function() {
        this.callParent(arguments);
    }
});
//Ext.define('Lada.view.search.List' ,{
//    extend: 'Ext.grid.Panel',
//    alias: 'widget.queryselector',
//    store: 'Sql',
//
//    initComponent: function() {
//        this.columns = [
//            {header: 'ID',  dataIndex: 'id',  flex: 1},
//            {header: 'Kurzname', dataIndex: 'name', flex: 1},
//            {header: 'SQL', dataIndex: 'desc', flex: 1}
//        ];
//
//        this.callParent(arguments);
//    }
//});

http://lada.wald.intevation.org