Mercurial > lada > lada-client
diff app/view/grid/Ortszuordnung.js @ 1021:1df6b6210b42 stammdatengrids
WIP First Version of a New Window/Panel combination to edit Ortszuordnungen and Orte
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 04 Feb 2016 16:31:46 +0100 |
parents | 2adc329d90fe |
children | 981339d774b8 |
line wrap: on
line diff
--- a/app/view/grid/Ortszuordnung.js Fri Jan 29 14:51:17 2016 +0100 +++ b/app/view/grid/Ortszuordnung.js Thu Feb 04 16:31:46 2016 +0100 @@ -48,14 +48,14 @@ this.columns = [{ header: 'Typ', dataIndex: 'ortszuordnungTyp', - width: 50, + flex: 1, editor: { allowBlank: false } }, { header: 'Staat', dataIndex: 'ortId', - width: 70, + flex: 1, renderer: function(value) { var store = Ext.data.StoreManager.get('orte'); var staaten = Ext.data.StoreManager.get('staaten'); @@ -66,7 +66,7 @@ }, { header: 'Gemeindeschlüssel', dataIndex: 'ortId', - width: 120, + flex: 3, renderer: function(value) { var store = Ext.data.StoreManager.get('orte'); var record = store.getById(value); @@ -75,7 +75,7 @@ }, { header: 'Gemeindename', dataIndex: 'ortId', - flex: 1, + flex: 4, renderer: function(value) { var store = Ext.data.StoreManager.get('orte'); var gemeinden = @@ -87,6 +87,7 @@ } }, { header: 'Ortszusatztext', + flex: 6, dataIndex: 'ortszusatztext' }]; this.listeners = {