Pman.Tab.AdminNotifyRecur.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 5 Dec 2012 06:28:27 +0000 (14:28 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 5 Dec 2012 06:28:27 +0000 (14:28 +0800)
Pman.Tab.AdminNotifyRecur.js

Pman.Tab.AdminNotifyRecur.bjs
Pman.Tab.AdminNotifyRecur.js

index d5c3b8a..512fc71 100644 (file)
                             "header": "Person",
                             "width": 75,
                             "xtype": "ColumnModel",
-                            "|renderer": "function(v) { return String.format('{0}', v); }",
+                            "|renderer": "function(v,x,r) { \n    return String.format('{0} <a href=\"mailto:{1}\">{1}</a>', v,r,data.person_id.email); \n}",
                             "|xns": "Roo.grid"
                         },
                         {
index 9d82e88..d168c7c 100644 (file)
@@ -211,7 +211,9 @@ Pman.Tab.AdminNotifyRecur = new Roo.XComponent({
                         dataIndex : 'person_id_name',
                         header : 'Person',
                         width : 75,
-                        renderer : function(v) { return String.format('{0}', v); }
+                        renderer : function(v,x,r) { 
+                            return String.format('{0} <a href="mailto:{1}">{1}</a>', v,r,data.person_id.email); 
+                        }
                     },
                     {
                         xtype: 'ColumnModel',