Mercurial > lada > lada-client
view app/view/widgets/Statuswert.js @ 256:d8993f5b96e8
Added a possible fix for issue57. After the create dialog is closed the edit
window is opened.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 25 Jul 2013 09:26:43 +0200 |
parents | 808c24773713 |
children | 5fbcbf330839 |
line wrap: on
line source
// Combobox for Statuswerte var statuswerteStore = Ext.create('Ext.data.Store', { fields: ['id', 'status'], data: [ {"id":1, "status":"nicht vergeben"}, {"id":2, "status":"plausibel"}, {"id":3, "status":"nicht repräsentativ"}, {"id":4, "status":"nicht plausibel"} ] }); Ext.define('Lada.view.widgets.Statuswert' ,{ extend: 'Ext.form.ComboBox', alias: 'widget.statuswert', store: statuswerteStore, displayField:'status', valueField: 'id', typeAhead: true, emptyText:'Wählen Sie eine Status', initComponent: function() { this.callParent(arguments); } });