Pman.Dialog.CoreAutoSavePreview.bjs
authorEdward <edward@roojs.com>
Thu, 8 May 2014 08:59:59 +0000 (16:59 +0800)
committerEdward <edward@roojs.com>
Thu, 8 May 2014 08:59:59 +0000 (16:59 +0800)
Pman.Dialog.CoreAutoSavePreview.js

Pman.Dialog.CoreAutoSavePreview.bjs
Pman.Dialog.CoreAutoSavePreview.js

index cc79e73..af41e75 100644 (file)
                                 },
                                 {
                                     "*prop": "colModel[]",
-                                    "dataIndex": "remarks",
-                                    "header": "Remarks",
-                                    "width": 300,
+                                    "dataIndex": "on_table",
+                                    "header": "Affected",
+                                    "width": 100,
                                     "xtype": "ColumnModel",
-                                    "|renderer": "function(v) { return String.format('<span qtip=\"{1}\">{0}</span>', v, Roo.util.Format.htmlEncode(v)); }",
+                                    "|renderer": "function(v) {                     \n    return String.format('{0})', v ? v : '');  \n}",
                                     "|xns": "Roo.grid"
                                 }
                             ]
index feec52b..0c15896 100644 (file)
@@ -1131,10 +1131,12 @@ Pman.Dialog.CoreAutoSavePreview = {
                             {
                                 xtype: 'ColumnModel',
                                 xns: Roo.grid,
-                                dataIndex : 'remarks',
-                                header : 'Remarks',
-                                width : 300,
-                                renderer : function(v) { return String.format('<span qtip="{1}">{0}</span>', v, Roo.util.Format.htmlEncode(v)); }
+                                dataIndex : 'on_table',
+                                header : 'Affected',
+                                width : 100,
+                                renderer : function(v) {                     
+                                    return String.format('{0})', v ? v : '');  
+                                }
                             }
                         ]
                     }