Mercurial > lada > lada-client
comparison app/view/grid/Ortszuordnung.js @ 1274:a792eecf1614
Updated Layout and Map for 'ortsbezug'-window. WIP!
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 10 Jan 2017 10:03:57 +0100 |
parents | 3d83bcb02ee3 |
children | bfdc00c24baf |
comparison
equal
deleted
inserted
replaced
1265:a4c1a9862a88 | 1274:a792eecf1614 |
---|---|
71 } | 71 } |
72 }, { | 72 }, { |
73 header: 'Ort-ID', | 73 header: 'Ort-ID', |
74 dataIndex: 'ortId', | 74 dataIndex: 'ortId', |
75 flex: 2, | 75 flex: 2, |
76 renderer: function(value) { | 76 renderer: function(value, meta, zuordnung) { |
77 var store = Ext.data.StoreManager.get('orte'); | 77 var store = Ext.data.StoreManager.get('orte'); |
78 var record = store.getById(value); | 78 var record = store.getById(value); |
79 if (!record) { | 79 if (!record) { |
80 record = Ext.create('Lada.model.Ort'); | 80 record = Ext.create('Lada.model.Ort'); |
81 record.set('id', value); | 81 record.set('id', value); |