From 786c1274869d9a8a06f90c279fad14fc14c04b63 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 16 May 2012 12:45:43 +0800 Subject: [PATCH] Pman.Dialog.CoreNotifyRefer.bjs Pman.Dialog.CoreNotifyRefer.js --- Pman.Dialog.CoreNotifyRefer.bjs | 2 +- Pman.Dialog.CoreNotifyRefer.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Pman.Dialog.CoreNotifyRefer.bjs b/Pman.Dialog.CoreNotifyRefer.bjs index 00176dd6..7e129130 100644 --- a/Pman.Dialog.CoreNotifyRefer.bjs +++ b/Pman.Dialog.CoreNotifyRefer.bjs @@ -163,7 +163,7 @@ "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": [ { diff --git a/Pman.Dialog.CoreNotifyRefer.js b/Pman.Dialog.CoreNotifyRefer.js index e212e655..9b5f7339 100644 --- a/Pman.Dialog.CoreNotifyRefer.js +++ b/Pman.Dialog.CoreNotifyRefer.js @@ -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 : { -- 2.39.2