Pman.Dialog.CoreNotifyRefer.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 16 May 2012 04:45:43 +0000 (12:45 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 16 May 2012 04:45:43 +0000 (12:45 +0800)
Pman.Dialog.CoreNotifyRefer.js

Pman.Dialog.CoreNotifyRefer.bjs
Pman.Dialog.CoreNotifyRefer.js

index 00176dd..7e12913 100644 (file)
                                     "header": "Frequency",
                                     "width": 100,
                                     "xtype": "ColumnModel",
-                                    "|renderer": "function(v) { \n\n    return String.format('{0}', v);\n }",
+                                    "|renderer": "function(v) { \n\n    \n    grid.colModel.config[2].editor.field.store.query('code','WEEKLY').first().data.title\n    return String.format('{0}', v);\n }",
                                     "|xns": "Roo.grid",
                                     "items": [
                                         {
index e212e65..9b5f733 100644 (file)
@@ -246,6 +246,8 @@ Pman.Dialog.CoreNotifyRefer = {
                                 width : 100,
                                 renderer : function(v) { 
                                 
+                                    
+                                    grid.colModel.config[2].editor.field.store.query('code','WEEKLY').first().data.title
                                     return String.format('{0}', v);
                                  },
                                 editor : {