Mercurial > lada > lada-client
view app/view/widgets/Testdatensatz.js @ 423:f0f6ae3aae52
Fixed class names.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 07 Nov 2013 12:14:36 +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); } });