Pman.Tab.AdminNotify.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 17 Jan 2014 07:34:36 +0000 (15:34 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 17 Jan 2014 07:34:36 +0000 (15:34 +0800)
Pman.Tab.AdminNotify.js

Pman.Tab.AdminNotify.bjs
Pman.Tab.AdminNotify.js

index 8a8f60e..d107577 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-162",
+    "id": "roo-file-210",
     "name": "Pman.Tab.AdminNotify",
     "parent": "Pman.Tab.AdminWatchNotify",
     "title": "Pman.Tab.AdminNotify",
                             "*prop": "colModel[]",
                             "dataIndex": "person_id_name",
                             "header": "Who to notify",
-                            "width": 200,
+                            "width": 100,
+                            "xtype": "ColumnModel",
+                            "|renderer": "function(v,x,r) {\n     return String.format('{0} <u>&lt;{1}&gt;</u>', v, r.data.person_id_email); \n }",
+                            "|xns": "Roo.grid"
+                        },
+                        {
+                            "*prop": "colModel[]",
+                            "dataIndex": "trigger_event_id",
+                            "header": "Triggered by",
+                            "width": 100,
                             "xtype": "ColumnModel",
                             "|renderer": "function(v,x,r) {\n     return String.format('{0} <u>&lt;{1}&gt;</u>', v, r.data.person_id_email); \n }",
                             "|xns": "Roo.grid"
index 47653f3..bc8a671 100644 (file)
@@ -380,7 +380,17 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
                         xns: Roo.grid,
                         dataIndex : 'person_id_name',
                         header : 'Who to notify',
-                        width : 200,
+                        width : 100,
+                        renderer : function(v,x,r) {
+                             return String.format('{0} <u>&lt;{1}&gt;</u>', v, r.data.person_id_email); 
+                         }
+                    },
+                    {
+                        xtype: 'ColumnModel',
+                        xns: Roo.grid,
+                        dataIndex : 'trigger_event_id',
+                        header : 'Triggered by',
+                        width : 100,
                         renderer : function(v,x,r) {
                              return String.format('{0} <u>&lt;{1}&gt;</u>', v, r.data.person_id_email); 
                          }