Mercurial > lada > lada-client
view app/view/widgets/Statuswert.js @ 240:910cd477bfda
Added a comment with a list of currently available columns.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 23 Jul 2013 11:30:57 +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); } });