view app/view/widgets/Ortdetail.js @ 374:832e3c8f9191

Implemented dynamic ProbelList model. The model will get initialized by the fields configured in the sql configuration.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 20 Aug 2013 16:50:47 +0200
parents 596501c16560
children debfcc7713e3
line wrap: on
line source
/**
 * Combobox for Ortdetails
 */
Ext.define('Lada.view.widgets.Ortdetail' ,{
        extend: 'Ext.form.ComboBox',
        alias: 'widget.ortdetail',
        store: 'Ortedetails',
        displayField: 'bezeichnung',
        valueField: 'ortId',
        emptyText:'Wählen Sie einen Ort',
        // Enable filtering of comboboxes
        autoSelect: false,
        queryMode: 'local',
        triggerAction : 'all',
        typeAhead: true,
        minChars: 0,
    initComponent: function() {
        this.callParent(arguments);
    }
});

http://lada.wald.intevation.org