Mercurial > lada > lada-client
view app/view/widgets/Testdatensatz.js @ 424:9c44ce52a33c
Fix rendering of the orte list. Some fields was not shown because of wrong
loading of ortedetails
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 08 Nov 2013 09:58:54 +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); } });