changeset 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
files app/view/messungen/List.js
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/messungen/List.js	Wed Jul 03 14:03:51 2013 +0200
+++ b/app/view/messungen/List.js	Wed Jul 03 15:23:30 2013 +0200
@@ -40,6 +40,14 @@
                 header: 'Anzahl Nuklide',
                 dataIndex: 'messungsId',
                 renderer: function(value) {
+                    var mstore = Ext.getStore('Messungen');
+                    mstore.load({
+                        params: {
+                            probeId: value.probeId,
+                            messungsId: value.messungsId
+                        }
+                    });
+                    return mstore.getTotalCount();
                 }
             },
             {

http://lada.wald.intevation.org