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

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

index fd05ff7..53aab6b 100644 (file)
                                     "width": 100,
                                     "xtype": "ColumnModel",
                                     "|renderer": "function(v) { return String.format('{0}', v); }",
-                                    "|xns": "Roo.grid"
+                                    "|xns": "Roo.grid",
+                                    "items": [
+                                        {
+                                            "|xns": "Roo.grid",
+                                            "xtype": "GridEditor",
+                                            "*prop": "editor"
+                                        }
+                                    ]
                                 },
                                 {
                                     "*prop": "colModel[]",
index 55ba5fe..e911745 100644 (file)
@@ -295,7 +295,11 @@ Pman.Dialog.CoreNotifyRefer = {
                                 dataIndex : 'freq_day',
                                 header : 'on day(s)',
                                 width : 100,
-                                renderer : function(v) { return String.format('{0}', v); }
+                                renderer : function(v) { return String.format('{0}', v); },
+                                editor : {
+                                    xtype: 'GridEditor',
+                                    xns: Roo.grid
+                                }
                             },
                             {
                                 xtype: 'ColumnModel',