Mercurial > lada > lada-client
diff app/view/grid/Orte.js @ 1325:35bbbfbe130c
Changed ort grid editors from custom to default comboboxes.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 03 Feb 2017 15:09:24 +0100 |
parents | 46093e6f45d2 |
children | da98f0e7c288 |
line wrap: on
line diff
--- a/app/view/grid/Orte.js Fri Feb 03 14:41:47 2017 +0100 +++ b/app/view/grid/Orte.js Fri Feb 03 15:09:24 2017 +0100 @@ -123,7 +123,10 @@ }, { header: i18n.getMsg('orte.anlageId'), editor: { - xtype: 'kta' + xtype: 'combobox', + store: Ext.data.StoreManager.get('ktas'), + displayField: 'code', + valueField: 'id' }, renderer: function(value) { if (value === undefined || @@ -187,8 +190,10 @@ type: 'string' }, editor: { - xtype: 'koordinatenart', - allowBlank: false + xtype: 'combobox', + store: Ext.data.StoreManager.get('koordinatenart'), + displayField: 'koordinatenart', + valueField: 'id' }, renderer: function(value) { if (value === undefined || value === '') { @@ -205,7 +210,10 @@ type: 'string' }, editor: { - xtype: 'ortszusatz', + xtype: 'combobox', + store: Ext.data.StoreManager.get('ortszusatz'), + displayField: 'ozsId', + valueField: 'ozsId' }, renderer: function(value) { if (value === undefined || @@ -225,7 +233,10 @@ type: 'string' }, editor: { - xtype: 'orttyp', + xtype: 'combobox', + store: Ext.data.StoreManager.get('orttyp'), + displayField: 'code', + valueField: 'id' }, renderer: function(value) { if (value === undefined ||