comparison app/view/grid/Messwert.js @ 736:7ae9599bee39

Returned Units od Measurement where not distinct
author Dustin Demuth <dustin@intevation.de>
date Mon, 20 Apr 2015 11:13:29 +0200
parents 7f11b75e0188
children efb1369a8cac
comparison
equal deleted inserted replaced
732:fca4e738415e 736:7ae9599bee39
73 renderer: function(value) { 73 renderer: function(value) {
74 if (!value || value === '') { 74 if (!value || value === '') {
75 return ''; 75 return '';
76 } 76 }
77 var store = Ext.data.StoreManager.get('messgroessen'); 77 var store = Ext.data.StoreManager.get('messgroessen');
78 return store.findRecord('id', value).get('messgroesse'); 78 return store.findRecord('id', value, 0, false, false, true).get('messgroesse');
79 }, 79 },
80 editor: { 80 editor: {
81 xtype: 'combobox', 81 xtype: 'combobox',
82 store: Ext.data.StoreManager.get('messgroessen'), 82 store: Ext.data.StoreManager.get('messgroessen'),
83 displayField: 'messgroesse', 83 displayField: 'messgroesse',
104 renderer: function(value) { 104 renderer: function(value) {
105 if (!value || value === '') { 105 if (!value || value === '') {
106 return ''; 106 return '';
107 } 107 }
108 var store = Ext.data.StoreManager.get('messeinheiten'); 108 var store = Ext.data.StoreManager.get('messeinheiten');
109 return store.findRecord('id', value).get('einheit'); 109 return store.findRecord('id', value, 0, false, false, true).get('einheit');
110 }, 110 },
111 editor: { 111 editor: {
112 xtype: 'combobox', 112 xtype: 'combobox',
113 store: Ext.data.StoreManager.get('messeinheiten'), 113 store: Ext.data.StoreManager.get('messeinheiten'),
114 displayField: 'einheit', 114 displayField: 'einheit',

http://lada.wald.intevation.org