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

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

index 4239c12..d676e66 100644 (file)
                                     "header": "Frequency",
                                     "width": 100,
                                     "xtype": "ColumnModel",
-                                    "|renderer": "function(v) { \n\n    \n    var matches = this.editor.field.store.query('code',v);\n    if (!matches.length) {\n        return '';\n    }\n    return String.format('{0}', matches.first().data.title);\n }",
+                                    "|renderer": "function(v,x,r) { \n\n    Roo.log(x);\n    var matches = this.editor.field.store.query('code',v);\n    if (!matches.length) {\n        return '';\n    }\n    return String.format('{0}', matches.first().data.title);\n }",
                                     "|xns": "Roo.grid",
                                     "items": [
                                         {
index 8162cc6..34b71c1 100644 (file)
@@ -244,9 +244,9 @@ Pman.Dialog.CoreNotifyRefer = {
                                 dataIndex : 'freq',
                                 header : 'Frequency',
                                 width : 100,
-                                renderer : function(v) { 
+                                renderer : function(v,x,r) { 
                                 
-                                    
+                                    Roo.log(x);
                                     var matches = this.editor.field.store.query('code',v);
                                     if (!matches.length) {
                                         return '';