Mercurial > lada > lada-client
view app/view/widgets/Testdatensatz.js @ 449:c22b24926500
Added lon/lat coordinates to varwaltungseinheiten store.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 05 Dec 2013 17:17:48 +0100 |
parents | 5fbcbf330839 |
children | debfcc7713e3 |
line wrap: on
line source
var testdatensatzStore = Ext.create('Ext.data.Store', { fields: ['testdatensatzId', 'testdatensatz'], data: [ {"testdatensatzId":true, "testdatensatz":"Ja"}, {"testdatensatzId":false, "testdatensatz":"Nein"} ] }); /** * Combobox for Testdatensatz. * This widget is also used a generic "Ja/Nein" combobox. */ Ext.define('Lada.view.widgets.Testdatensatz' ,{ extend: 'Ext.form.ComboBox', editable: false, alias: 'widget.testdatensatz', store: testdatensatzStore, queryMode: 'local', displayField:'testdatensatz', valueField: 'testdatensatzId', emptyText:'Testdatensatz?', initComponent: function() { this.callParent(arguments); } });