Mercurial > lada > lada-client
comparison app/view/messungen/List.js @ 165:202d89d8dd16
Show "Anzahl der Nuklide"
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 03 Jul 2013 15:23:30 +0200 |
parents | 767300b2c70f |
children | 62a356dc2517 |
comparison
equal
deleted
inserted
replaced
164:767300b2c70f | 165:202d89d8dd16 |
---|---|
38 {header: 'OK-Flag', dataIndex: "fertig"}, | 38 {header: 'OK-Flag', dataIndex: "fertig"}, |
39 { | 39 { |
40 header: 'Anzahl Nuklide', | 40 header: 'Anzahl Nuklide', |
41 dataIndex: 'messungsId', | 41 dataIndex: 'messungsId', |
42 renderer: function(value) { | 42 renderer: function(value) { |
43 var mstore = Ext.getStore('Messungen'); | |
44 mstore.load({ | |
45 params: { | |
46 probeId: value.probeId, | |
47 messungsId: value.messungsId | |
48 } | |
49 }); | |
50 return mstore.getTotalCount(); | |
43 } | 51 } |
44 }, | 52 }, |
45 { | 53 { |
46 header: 'Anzahl Kommentare', | 54 header: 'Anzahl Kommentare', |
47 flex: 1, | 55 flex: 1, |